|
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)
o
- the Object to be compared.public int compareTo(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
public void setJndiHomeName(java.lang.String s)
jndiHomeName
- jndiHomeName to be addedpublic java.lang.String getJndiHomeName()
public void setPkString(java.lang.String s)
pkString
- pkString to be addedpublic java.lang.String getPkString()
public void setSchemaGroupName(java.lang.String s)
schemaGroupName
- schemaGroupName to be addedpublic java.lang.String getSchemaGroupName()
public Belonging value()
public java.lang.String interfaceName()
public 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.
belonging
- The Belonging
to use for initialization.public java.lang.Object clone()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |