|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.IeDefinitionDescriptor
This class holds definition descriptors for a particular definition identifier. Typically, it's used to hold descriptors for an attribute type identifier.
Field Summary | |
private String |
abbreviatedDisplay
|
private static String |
CLASSNAME
|
private String |
display
|
private String |
fullDisplay
|
private DefinitionIdentifier |
identifier
|
private LocalizedValues |
localizedValues
|
private String |
longDescription
|
private String |
shortDescription
|
Fields inherited from interface com.ptc.core.meta.descriptor.common.DefinitionDescriptor |
IDENTIFIER |
Constructor Summary | |
IeDefinitionDescriptor()
|
|
IeDefinitionDescriptor(IeDefinitionDescriptor descriptor)
|
|
IeDefinitionDescriptor(LocalizedValues localized_values,
DefinitionIdentifier identifier)
Initializes the definition descriptor with a set of localized values and an identifier. |
Method Summary | |
void |
addProperty(String key,
String value)
Adds an arbitrary property to the set of definition descriptors. |
String |
getAbbreviatedDisplay()
Gets the value of the attribute abbreviatedDisplay, if it's set in this definition descriptor. |
String |
getDisplay()
Gets the value of the attribute display, if it's set in this definition descriptor. |
String |
getFullDisplay()
Gets the value of the attribute fullDisplay, if it's set in this definition descriptor. |
DefinitionIdentifier |
getIdentifier()
Gets the object for the association that plays role: identifier. |
protected LocalizedValues |
getLocalizedValues()
Returns the set of localized values for the definition descriptor. |
String |
getLongDescription()
Gets the value of the attribute longDescription, if it's set in this definition descriptor. |
String |
getProperty(String key)
Gets a property by name. |
String |
getProperty(String key,
String default_value)
Gets a property. |
String |
getShortDescription()
Gets the value of the attribute shortDescription, if it's set in this definition descriptor. |
void |
setAbbreviatedDisplay(String a_AbbreviatedDisplay)
Sets the value of the attribute: abbreviatedDisplay. |
void |
setDisplay(String a_Display)
Sets the value of the attribute: abbreviatedDisplay. |
void |
setFullDisplay(String a_FullDisplay)
Sets the value of the attribute: display. |
void |
setIdentifier(DefinitionIdentifier identifier)
Sets the identifier described by this definition |
protected void |
setLocalizedValues(LocalizedValues a_LocalizedValues)
Sets the localized values for the definition descriptor. |
void |
setLongDescription(String a_LongDescription)
Sets the value of the attribute: longDescription |
void |
setShortDescription(String a_ShortDescription)
Sets the value of the attribute: shortDescription |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private LocalizedValues localizedValues
private DefinitionIdentifier identifier
private String abbreviatedDisplay
private String display
private String fullDisplay
private String shortDescription
private String longDescription
Constructor Detail |
public IeDefinitionDescriptor()
public IeDefinitionDescriptor(LocalizedValues localized_values, DefinitionIdentifier identifier)
localized_values
- identifier
- public IeDefinitionDescriptor(IeDefinitionDescriptor descriptor)
descriptor
- Method Detail |
protected LocalizedValues getLocalizedValues()
protected void setLocalizedValues(LocalizedValues a_LocalizedValues)
a_LocalizedValues
-
WTPropertyVetoException
public String getProperty(String key)
getProperty
in interface DefinitionDescriptor
key
-
public void addProperty(String key, String value)
key
- value
- public String getProperty(String key, String default_value)
getProperty
in interface DefinitionDescriptor
key
- default_value
-
public DefinitionIdentifier getIdentifier()
getIdentifier
in interface DefinitionDescriptor
public void setIdentifier(DefinitionIdentifier identifier)
identifier
- the identifierpublic String getAbbreviatedDisplay()
getAbbreviatedDisplay
in interface LocalizableMetadata
public void setAbbreviatedDisplay(String a_AbbreviatedDisplay)
a_AbbreviatedDisplay
- public void setDisplay(String a_Display)
public String getDisplay()
getDisplay
in interface LocalizableMetadata
public void setFullDisplay(String a_FullDisplay)
a_FullDisplay
- public String getFullDisplay()
getFullDisplay
in interface LocalizableMetadata
public void setShortDescription(String a_ShortDescription)
a_ShortDescription
- public String getShortDescription()
getShortDescription
in interface LocalizableMetadata
public void setLongDescription(String a_LongDescription)
a_LongDescription
- public String getLongDescription()
getLongDescription
in interface LocalizableMetadata
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |