|
© 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.BelongingImpl
|
+--com.beasys.commerce.foundation.property.PropertyMapKeyImpl
Lightweight class to use as a key for Property values and definitions
PropertyMapKey,
PropertyMapKeyHome, Serialized Form| Field Summary | |
java.lang.String |
propertyName
Containment: By Value Multiplicity: 1:1 |
java.lang.String |
scopeName
Containment: By Value Multiplicity: 1:1 |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Constructor Summary | |
PropertyMapKeyImpl()
|
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
java.lang.String |
getPropertyName()
Get the value of propertyName |
java.lang.String |
getScopeName()
Get the value of scopeName |
int |
hashCode()
Returns a hash code for this Belonging. |
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 |
setPropertyName(java.lang.String propertyName)
Set the value of propertyName |
void |
setScopeName(java.lang.String scopeName)
Set the value of scopeName |
Belonging |
value()
value() is a more typesafe implementation of clone() |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
clone, equals |
| Field Detail |
public java.lang.String propertyName
public java.lang.String scopeName
| Constructor Detail |
public PropertyMapKeyImpl()
| Method Detail |
public java.lang.String getPropertyName()
getPropertyName in interface PropertyMapKeypublic void setPropertyName(java.lang.String propertyName)
setPropertyName in interface PropertyMapKeypropertyName - propertyName to be addedpublic java.lang.String getScopeName()
getScopeName in interface PropertyMapKeypublic void setScopeName(java.lang.String scopeName)
setScopeName in interface PropertyMapKeyscopeName - scopeName to be addedpublic 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 BelongingsetByValue in class BelongingImplcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class BelongingImplo - target object for comparisionpublic int hashCode()
BelongingImplhashCode in class BelongingImplcom.beasys.commerce.foundation.BelongingImpl
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||