Package com.ironcorelabs.sdk
Class DeviceName
- java.lang.Object
-
- com.ironcorelabs.sdk.DeviceName
-
public final class DeviceName extends java.lang.Object
Device name type. Validates that the provided name isn't an empty string
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
java.lang.String
getName()
int
hashCode()
static DeviceName
validate(java.lang.String s)
-
-
-
Method Detail
-
validate
public static DeviceName validate(java.lang.String s) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getName
public final java.lang.String getName()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-