public class MdmDescriptionType
extends java.lang.Object
MdmDescription
. Static methods of this class return standard types of descriptions such as name, plural name, description, long description, and others. An application can create other types of descriptions by constructing new MdmDescriptionType
objects.
An application specifies an MdmDescriptionType
when calling the
method of an findOrCreateDescription
MdmObject
, which returns an MdmDescription
.
MdmDescription
Constructor and Description |
---|
MdmDescriptionType(java.lang.String type)
Creates a new
MdmDescriptionType of the specified type. |
MdmDescriptionType(java.lang.String type, MdmDescriptionType defaultType)
Creates a new
MdmDescriptionType of the specified type and specifies a default description type. |
Modifier and Type | Method and Description |
---|---|
static MdmDescriptionType |
getDescriptionDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a description to associate with an MdmObject . |
java.lang.String |
getDescriptiveType()
Gets the description type of this
MdmDescriptionType . |
MdmDescriptionType |
getDescriptiveTypeDefault()
Gets the default description type associated with this
MdmDescriptionType . |
static MdmDescriptionType |
getLongDescriptionDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a long description to associate with an MdmObject . |
static MdmDescriptionType |
getLongNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a long version of a name to associate with an MdmObject . |
static MdmDescriptionType |
getLongPluralNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a long plural name to associate with an MdmObject . |
static MdmDescriptionType |
getNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a name to associate with an MdmObject . |
static MdmDescriptionType |
getPluralNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a plural name to associate with an MdmObject . |
static MdmDescriptionType |
getShortDescriptionDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a short description to associate with an MdmObject . |
static MdmDescriptionType |
getShortNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a short version of a name to associate with an MdmObject . |
static MdmDescriptionType |
getShortPluralNameDescriptionType()
Gets an
MdmDescriptionType for an MdmDescription that represents a short plural name to associate with an MdmObject . |
public MdmDescriptionType(java.lang.String type)
MdmDescriptionType
of the specified type.type
- A String
that specifies the type of the new MdmDescriptionType
.public MdmDescriptionType(java.lang.String type, MdmDescriptionType defaultType)
MdmDescriptionType
of the specified type and specifies a default description type.type
- A String
that specifies the type of the new MdmDescriptionType
.defaultType
- The MdmDescriptionType
to use as the default type.public final MdmDescriptionType getDescriptiveTypeDefault()
MdmDescriptionType
.MdmDescriptionType
that is the default type specified for this MdmDescriptionType
.public final java.lang.String getDescriptiveType()
MdmDescriptionType
.String
that contains the name of the type of description that this MdmDescriptionType
represents.public static MdmDescriptionType getNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a name.public static MdmDescriptionType getShortNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a short version of a name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a short name.public static MdmDescriptionType getLongNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a long version of a name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a long name.public static MdmDescriptionType getShortPluralNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a short plural name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a short plural name.public static MdmDescriptionType getPluralNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a plural name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a plural name.public static MdmDescriptionType getLongPluralNameDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a long plural name to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a long plural name.public static MdmDescriptionType getDescriptionDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a description to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a description.public static MdmDescriptionType getShortDescriptionDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a short description to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a short description.public static MdmDescriptionType getLongDescriptionDescriptionType()
MdmDescriptionType
for an MdmDescription
that represents a long description to associate with an MdmObject
.MdmDescriptionType
for an MdmDescription
that represents a long description.