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 DeviceName
clone()
void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
java.lang.String
getName()
int
hashCode()
This implementation calls native code, which means it's relatively slow.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()
-
clone
public final DeviceName clone()
- Overrides:
clone
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
-
hashCode
public int hashCode()
This implementation calls native code, which means it's relatively slow.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-