Class DeviceName


  • public final class DeviceName
    extends java.lang.Object
    Device name type. Validates that the provided name isn't an empty string
    • 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 class java.lang.Object
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object