Package com.ptc.windchill.esi.utl
Class ESIPropertyRequest
java.lang.Object
com.ptc.windchill.esi.utl.ESIPropertyRequest
- All Implemented Interfaces:
Externalizable,Serializable
This class abstracts and consolidates all of the ESI property requests so that property consumers all get the same
property name and have consistent default values.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: defaultValue; An optional value to provide if the property isn't found in ESI.properties.getName()Gets the value of the attribute: name; The name of the property to fetch.static ESIPropertyRequestnewESIPropertyRequest(String name) Creates a new ESIPropertyRequest with a property name.static ESIPropertyRequestnewESIPropertyRequest(String name, String defaultValue) Creates a new ESIPropertyRequest object with the name and defaultValue attributes initialized.
-
Method Details
-
getName
Gets the value of the attribute: name; The name of the property to fetch.
Supported API: true- Returns:
- String
-
getDefaultValue
Gets the value of the attribute: defaultValue; An optional value to provide if the property isn't found in ESI.properties.
Supported API: true- Returns:
- String
-
newESIPropertyRequest
Creates a new ESIPropertyRequest with a property name.
Supported API: true- Parameters:
name- The name of the property to request.- Returns:
- ESIPropertyRequest
-
newESIPropertyRequest
Creates a new ESIPropertyRequest object with the name and defaultValue attributes initialized.
Supported API: true- Parameters:
name- The property name.defaultValue- The value to return if the property is not found in ESI properties.- Returns:
- ESIPropertyRequest
-