|
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 Belonging
equals
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
o
- 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.Comparable
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void setJndiHomeName(java.lang.String s)
setJndiHomeName
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
jndiHomeName
- jndiHomeName to be addedpublic java.lang.String getJndiHomeName()
getJndiHomeName
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
public void setPkString(java.lang.String s)
setPkString
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
pkString
- pkString to be addedpublic java.lang.String getPkString()
getPkString
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
public void setSchemaGroupName(java.lang.String s)
setSchemaGroupName
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
schemaGroupName
- schemaGroupName to be addedpublic java.lang.String getSchemaGroupName()
getSchemaGroupName
in interface PropertyLocator
com.beasys.commerce.foundation.property.PropertyLocator
public Belonging value()
value
in interface Belonging
public java.lang.String interfaceName()
interfaceName
in interface Belonging
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.
setByValue
in interface Belonging
com.beasys.commerce.foundation.Belonging
belonging
- The Belonging
to use for initialization.public java.lang.Object clone()
Belonging
clone
in interface Belonging
clone
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |