Package com.ptc.windchill.ws
Class PropertyDescription
java.lang.Object
com.ptc.windchill.ws.PropertyDescription
- All Implemented Interfaces:
Serializable
The PropertyDescription class is a bean class that describes the
detailed characteristics of a business object property.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default localized value of this property.Returns the default value of this property.getLabel()Returns the label associated with this property.String[]Returns a list of localized values corresponding to this property's enumerated values.getLocalizedValues(int i) Returns a localized value by index.String[]Returns a list of long descriptions corresponding to this property's enumerated values.getLongDescriptions(int i) Returns a long description by index.String[]Returns a list of long labels corresponding to this property's enumerated values.getLongLabels(int i) Returns a long label by index.Returns the lower limit constraint of this property if there is one.getName()Returns the property name.booleanReturns whether or not this property is required.boolean[]Returns an array of booleans corresponding to enumerated values that indicate whether or not a particular value is selectable.booleangetSelectable(int i) Returns the selectability of a particular enumerated value by index.String[]Returns a list of short descriptions corresponding to this property's enumerated values.getShortDescriptions(int i) Returns a short description by index.String[]Returns a list of short labels corresponding to this property's enumerated values.getShortLabels(int i) Returns a short label by index.String[]Returns a list of string values corresponding to this property's enumerated values.getStringValues(int i) Returns a string value by index.Returns the syntax of this property.Returns the upper limit constraint of this property if there is one.String[]Returns a list of enumerated values for this property if there are any.getValues(int i) Returns an enumerated value by index.voidsetDefaultLocalizedValue(String defaultLocalizedValue) Sets the default localized value of this property.voidsetDefaultValue(String defaultValue) Sets the default value of this property.voidSets the label associated with this property.voidsetLocalizedValues(int i, String localizedValue) Sets a localized value by index.voidsetLocalizedValues(String[] localizedValues) Sets a list of localized values corresponding to this property's enumerated values.voidsetLongDescriptions(int i, String longDescription) Sets a long description by index.voidsetLongDescriptions(String[] longDescriptions) Sets a list of long descriptions corresponding to this property's enumerated values.voidsetLongLabels(int i, String longLabel) Sets a long label by index.voidsetLongLabels(String[] longLabels) Sets a list of long labels corresponding to this property's enumerated values.voidsetLowerLimit(String lowerLimit) Sets the lowere limit constraint of this property.voidSets the property name.voidsetRequired(boolean required) Sets whether or not this property is required.voidsetSelectable(boolean[] selectable) Sets a list of boolean values corresponding to this property's enumerated values indicating selectability.voidsetSelectable(int i, boolean selectable) Sets the selectability of a particular enumerated value by index.voidsetShortDescriptions(int i, String shortDescription) Sets a short description by index.voidsetShortDescriptions(String[] shortDescriptions) Sets a list of short descriptions corresponding to this property's enumerated values.voidsetShortLabels(int i, String shortLabel) Sets a short label by index.voidsetShortLabels(String[] shortLabels) Sets a list of short labels corresponding to this property's enumerated values.voidsetStringValues(int i, String stringValue) Sets a string value by index.voidsetStringValues(String[] stringValues) Sets a list of string values corresponding to this property's enumerated values.voidSets the syntax of this property.voidsetUpperLimit(String upperLimit) Sets the upper limit constraint of this property.voidSets an enumerated value by index.voidSets a list of enumerated values for this property.
-
Constructor Details
-
PropertyDescription
public PropertyDescription()Constructs a new PropertyDescription.
Supported API: true
-
-
Method Details
-
getName
Returns the property name.
Supported API: true- Returns:
- The property name.
-
setName
Sets the property name.
Supported API: true- Parameters:
name- The property name.
-
getSyntax
Returns the syntax of this property.
Supported API: true- Returns:
- The syntax.
-
setSyntax
Sets the syntax of this property.
Supported API: true- Parameters:
syntax- The new syntax.
-
getLabel
Returns the label associated with this property.
Supported API: true- Returns:
- The label.
-
setLabel
Sets the label associated with this property.
Supported API: true- Parameters:
label- The label.
-
getUpperLimit
Returns the upper limit constraint of this property if there is one.
Supported API: true- Returns:
- The upper limit.
-
setUpperLimit
Sets the upper limit constraint of this property.
Supported API: true- Parameters:
upperLimit- The new upper limit.
-
getLowerLimit
Returns the lower limit constraint of this property if there is one.
Supported API: true- Returns:
- The lower limit.
-
setLowerLimit
Sets the lowere limit constraint of this property.
Supported API: true- Parameters:
lowerLimit- The new lower limit.
-
getRequired
public boolean getRequired()Returns whether or not this property is required.
Supported API: true- Returns:
- true if required.
-
setRequired
public void setRequired(boolean required) Sets whether or not this property is required.
Supported API: true- Parameters:
required- The new required value.
-
getDefaultValue
Returns the default value of this property.
Supported API: true- Returns:
- The default value.
-
setDefaultValue
Sets the default value of this property.
Supported API: true- Parameters:
defaultValue- The new default value.
-
getDefaultLocalizedValue
Returns the default localized value of this property.
Supported API: true- Returns:
- The default localized value.
-
setDefaultLocalizedValue
Sets the default localized value of this property.
Supported API: true- Parameters:
defaultLocalizedValue- The new default localized value.
-
getValues
Returns a list of enumerated values for this property if there are any.
Supported API: true- Returns:
- The enumerated values.
-
setValues
Sets a list of enumerated values for this property.
Supported API: true- Parameters:
values- The new values.
-
getValues
Returns an enumerated value by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The value.
-
setValues
Sets an enumerated value by index.
Supported API: true- Parameters:
i- The index.value- The new value.
-
getLocalizedValues
Returns a list of localized values corresponding to this property's enumerated values.
Supported API: true- Returns:
- The localized values.
-
setLocalizedValues
Sets a list of localized values corresponding to this property's enumerated values.
Supported API: true- Parameters:
localizedValues- The new localized values.
-
getLocalizedValues
Returns a localized value by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The localized value.
-
setLocalizedValues
Sets a localized value by index.
Supported API: true- Parameters:
i- The index.localizedValue- The new localized value.
-
getStringValues
Returns a list of string values corresponding to this property's enumerated values.
Supported API: true- Returns:
- The string values.
-
setStringValues
Sets a list of string values corresponding to this property's enumerated values.
Supported API: true- Parameters:
stringValues- The new string values.
-
getStringValues
Returns a string value by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The string value.
-
setStringValues
Sets a string value by index.
Supported API: true- Parameters:
i- The index.stringValue- The new string value.
-
getSelectable
public boolean[] getSelectable()Returns an array of booleans corresponding to enumerated values that indicate whether or not a particular value is selectable.
Supported API: true- Returns:
- A list of booleans indicating selectability of enumerated values.
-
setSelectable
public void setSelectable(boolean[] selectable) Sets a list of boolean values corresponding to this property's enumerated values indicating selectability.
Supported API: true- Parameters:
selectable- The new selectability of this property's enumerated values.
-
getSelectable
public boolean getSelectable(int i) Returns the selectability of a particular enumerated value by index.
Supported API: true- Parameters:
i- The index.- Returns:
- true if selectable.
-
setSelectable
public void setSelectable(int i, boolean selectable) Sets the selectability of a particular enumerated value by index.
Supported API: true- Parameters:
i- The index.selectable- The selectability of the corresponding enumerated value.
-
getShortLabels
Returns a list of short labels corresponding to this property's enumerated values.
Supported API: true- Returns:
- The short labels.
-
setShortLabels
Sets a list of short labels corresponding to this property's enumerated values.
Supported API: true- Parameters:
shortLabels- The new short labels.
-
getShortLabels
Returns a short label by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The short label.
-
setShortLabels
Sets a short label by index.
Supported API: true- Parameters:
i- The index.shortLabel- The new short label.
-
getLongLabels
Returns a list of long labels corresponding to this property's enumerated values.
Supported API: true- Returns:
- The long labels.
-
setLongLabels
Sets a list of long labels corresponding to this property's enumerated values.
Supported API: true- Parameters:
longLabels- The long labels.
-
getLongLabels
Returns a long label by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The long label.
-
setLongLabels
Sets a long label by index.
Supported API: true- Parameters:
i- The index.longLabel- The new long label.
-
getShortDescriptions
Returns a list of short descriptions corresponding to this property's enumerated values.
Supported API: true- Returns:
- The short descriptions.
-
setShortDescriptions
Sets a list of short descriptions corresponding to this property's enumerated values.
Supported API: true- Parameters:
shortDescriptions- The new short descriptions.
-
getShortDescriptions
Returns a short description by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The short description.
-
setShortDescriptions
Sets a short description by index.
Supported API: true- Parameters:
i- The index.shortDescription- The new short description.
-
getLongDescriptions
Returns a list of long descriptions corresponding to this property's enumerated values.
Supported API: true- Returns:
- The long descriptions.
-
setLongDescriptions
Sets a list of long descriptions corresponding to this property's enumerated values.
Supported API: true- Parameters:
longDescriptions- The new long descriptions.
-
getLongDescriptions
Returns a long description by index.
Supported API: true- Parameters:
i- The index.- Returns:
- The long description.
-
setLongDescriptions
Sets a long description by index.
Supported API: true- Parameters:
i- The index.longDescription- The new long description.
-