Class Fragment

java.lang.Object
org.ivoa.dm.registry.standard.Fragment
All Implemented Interfaces:
Serializable

@VoDml(id="StandardsRegExt:fragment", role=primitiveType) @Embeddable public class Fragment extends Object implements Serializable
the allowed characters for a fragment identifier taken from rfc2396. PrimitiveType fragment :
See Also:
  • Constructor Details

    • Fragment

      protected Fragment()
      no arg constructor.
    • Fragment

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

      public Fragment(String v)
      Creates a new fragment 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: