|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.ws.GenericBusinessObject
public class GenericBusinessObject
Java bean that defines a generic business object.
Important When being used in a client JVM (e.g. an Info*Engine JCA client) the system property named "com.ptc.windchill.ws.GenericBusinessObject.client" must be set to true before this class is loaded.
A generic business object has three properties
Property,
Serialized Form| Field Summary | |
|---|---|
static String |
CLIENT_PROPERTY
Supported API: true The name of the boolean System property to set to true when running in a client JVM. |
| Constructor Summary | |
|---|---|
GenericBusinessObject()
Constructs a new empty GenericBusinessObject. |
|
| Method Summary | |
|---|---|
void |
addProperty(Property property)
Adds a Property object to the list of this object's properties. |
void |
addProperty(String name,
String value)
Adds a Property object to the list with name and value. |
boolean |
equals(Object o)
Tests this GenericBusinessObject object against another object for equality. |
Property[] |
getProperties()
Retrieves the entire list of Property objects. |
Property |
getProperties(int index)
Retrieves a Property object by index. |
Property |
getPropertyObject(String name)
Gets a Property object by name. |
Property[] |
getPropertyObjects(String name)
Gets a list of Property objects by name. |
String |
getPropertyValue(String name)
Gets a property value by name. |
String[] |
getPropertyValues(String name)
Gets a list of property values by name. |
String |
getTypeIdentifier()
Retrieves this business object's typeIdentifier. |
String |
getUfid()
Retrieves this business object's Unique Federation Identifier. |
void |
setProperties(int index,
Property property)
Sets a Property object by index. |
void |
setProperties(Property[] properties)
Sets the entire list of Property objects. |
void |
setTypeIdentifier(String typeIdentifier)
Sets this business object's typeIdentifier. |
void |
setUfid(String ufid)
Sets this business object's Unique Federation Identifier. |
String |
toString()
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CLIENT_PROPERTY
| Constructor Detail |
|---|
public GenericBusinessObject()
| Method Detail |
|---|
public void setTypeIdentifier(String typeIdentifier)
typeIdentifier - The new typeIdentifier value.public String getTypeIdentifier()
public void setUfid(String ufid)
ufid - The new ufid.public String getUfid()
public void setProperties(int index,
Property property)
index - The index of the Property object to set.property - The property object to set.public Property getProperties(int index)
index - The index of the property object to get.
public void setProperties(Property[] properties)
properties - The new list of Property objects.public Property[] getProperties()
public String toString()
toString in class Objectpublic void addProperty(Property property)
property - The property to add.
public void addProperty(String name,
String value)
name - The name of the new property.value - The value of the new proprty.public Property getPropertyObject(String name)
name - The name of the Property object to retrieve.
public Property[] getPropertyObjects(String name)
name - The name of the property objects to retrieve.
public String getPropertyValue(String name)
name - The name of the property value to retrieve.
public String[] getPropertyValues(String name)
name - The name of the property values to retrieve.
public boolean equals(Object o)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||