Class ShortName

java.lang.Object
org.ivoa.dm.registry.voresource.ShortName
All Implemented Interfaces:
Serializable

@VoDml(id="VOResource:ShortName", role=primitiveType) @Embeddable public class ShortName extends Object implements Serializable
A short name or abbreviation given to something. This name will be used where brief annotations for the resource name are required. Applications may use to refer to this resource in a compact display. One word or a few letters is recommended. No more than sixteen characters are allowed. PrimitiveType ShortName :
See Also:
  • Constructor Details

    • ShortName

      protected ShortName()
      no arg constructor.
    • ShortName

      public ShortName(ShortName c)
      copy constructor.
      Parameters:
      c - the object to be copied.
    • ShortName

      public ShortName(String v)
      Creates a new ShortName Primitive Type instance, using the base type.
      Parameters:
      v - the base type.
  • Method Details

    • value

      public final String value()
      Return the representation of this primitive (value)
      Returns:
      string representation of this primitive( value)
    • toString

      public final String toString()
      Return the string representation of this primitive value
      Overrides:
      toString in class Object
      Returns:
      string representation of this primitive
      See Also: