Interface Type

All Superinterfaces:
Comparable<Type>, OsidPrimitive, OsidPrimitive, Serializable, Type

public interface Type extends OsidPrimitive, Type

The Type is a form of identifier that is primarily used to identify interface specifications. The Type differs from Id in that it offers display information and Types may be arranged in hierarchies to indicate an extended interface. Semantically, an Id identifies any OSID object while the Type identifies a specification.

The components of the Type that make up its identification are:

  • identifier: a unique key or guid
  • namespace: the namespace of the identifier
  • authority: the isuer of the identifier

Persisting a type reference means to persist the above identification elements. In addition to these identifier components, A Type mai also provide some additional metadata such as a name, description and domain.

  • Method Details

    • getDisplayName

      DisplayText getDisplayName()
      Gets the full display name of this Type .
      Returns:
      the display name of this Type
      Compliance:
      mandatory - This method must be implemented.
    • getDisplayLabel

      DisplayText getDisplayLabel()
      Gets the shorter display label for this Type . Where a display name of a Type might be " Critical Logging Priority Type", the display label could be "critical".
      Returns:
      the display label for this Type
      Compliance:
      mandatory - This method must be implemented.
    • getDescription

      DisplayText getDescription()
      Gets a description of this Type .
      Returns:
      the description of this Type
      Compliance:
      mandatory - This method must be implemented.
    • getDomain

      DisplayText getDomain()
      Gets the domain. The domain can provide an information label about ths application space of this Type.
      Returns:
      the domain of this Type
      Compliance:
      mandatory - This method must be implemented.
    • getAuthority

      String getAuthority()
      Gets the authority of this Type . The authority is a string used to ensure the uniqueness of this Type when using a non-federated identifier space. Generally, it is a domain name identifying the party responsible for this Type . This method is used to compare one Type to another.
      Returns:
      the authority of this Type
      Compliance:
      mandatory - This method must be implemented.
    • getIdentifierNamespace

      String getIdentifierNamespace()
      Gets the namespace of the identifier. This method is used to compare one Type to another.
      Returns:
      the authority of this Type
      Compliance:
      mandatory - This method must be implemented.
    • getIdentifier

      String getIdentifier()
      Gets the identifier of this Type .This method is used to compare one Type to another.
      Returns:
      the identifier of this Type
      Compliance:
      mandatory - This method must be implemented.