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:
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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthority()
Gets the authority of this
Type. |
DisplayText |
getDescription()
Gets a description of this
Type. |
DisplayText |
getDisplayLabel()
Gets the shorter display label for this
Type . |
DisplayText |
getDisplayName()
Gets the full display name of this
Type. |
DisplayText |
getDomain()
Gets the domain.
|
java.lang.String |
getIdentifier()
Gets the identifier of this
Type. |
java.lang.String |
getIdentifierNamespace()
Gets the namespace of the identifier.
|
toString
DisplayText getDisplayName()
Type.
Type
mandatory
- This method must be implemented. DisplayText getDisplayLabel()
Type
. Where a
display name of a Type
might be "
Critical Logging Priority Type", the display label could be
"critical". Type
mandatory
- This method must be implemented. DisplayText getDescription()
Type.
Type
mandatory
- This method must be implemented. DisplayText getDomain()
Type
mandatory
- This method must be implemented. java.lang.String getAuthority()
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. Type
mandatory
- This method must be implemented. java.lang.String getIdentifierNamespace()
Type
to another. Type
mandatory
- This method must be implemented. java.lang.String getIdentifier()
Type.
This method is used
to compare one Type
to another. Type
mandatory
- This method must be implemented.