|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.beasys.commerce.foundation.property.SimplePropertyLocator
Lightweight implementation of a PropertyLocator object. This should be used to improve performance when a full Belonging is not necessary.
| Constructor Summary | |
SimplePropertyLocator()
|
|
| Method Summary | |
java.lang.Object |
clone()
Returns a shallow copy of the Belonging instance. |
int |
compareTo(java.lang.Object o)
Standard compareTo operator |
boolean |
equals(java.lang.Object o)
Standard equals operator |
java.lang.String |
getJndiHomeName()
Get the jndiHomeName of an entity |
java.lang.String |
getPkString()
Get the pk of an entity |
java.lang.String |
getSchemaGroupName()
Get the schemaGroupName of an entity |
int |
hashCode()
Return a hashCode based on all fields to enable lookups in a HashMap |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setJndiHomeName(java.lang.String s)
Set the jndiHomeName of an entity |
void |
setPkString(java.lang.String s)
Set the pk of an entity |
void |
setSchemaGroupName(java.lang.String s)
Set the schemaGroupName of an entity |
java.lang.String |
toString()
|
Belonging |
value()
value() is a more typesafe implementation of clone() |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimplePropertyLocator()
| Method Detail |
public boolean equals(java.lang.Object o)
equals in interface Belongingequals in class java.lang.Objectcom.beasys.commerce.foundation.Belongingo - the Object to be compared.java.lang.ClassCastException - if the specified object is not of the same
type as this Belonging.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setJndiHomeName(java.lang.String s)
setJndiHomeName in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorjndiHomeName - jndiHomeName to be addedpublic java.lang.String getJndiHomeName()
getJndiHomeName in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorpublic void setPkString(java.lang.String s)
setPkString in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorpkString - pkString to be addedpublic java.lang.String getPkString()
getPkString in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorpublic void setSchemaGroupName(java.lang.String s)
setSchemaGroupName in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorschemaGroupName - schemaGroupName to be addedpublic java.lang.String getSchemaGroupName()
getSchemaGroupName in interface PropertyLocatorcom.beasys.commerce.foundation.property.PropertyLocatorpublic Belonging value()
value in interface Belongingpublic java.lang.String interfaceName()
interfaceName in interface Belongingpublic void setByValue(Belonging value)
It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.
setByValue in interface Belongingcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public java.lang.Object clone()
Belongingclone in interface Belongingclone in class java.lang.Objectcom.beasys.commerce.foundation.Belonging
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||