BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class PropertyMapKeyImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.BelongingImpl
        |
        +--com.beasys.commerce.foundation.property.PropertyMapKeyImpl

public class PropertyMapKeyImpl
extends BelongingImpl
implements PropertyMapKey, java.lang.Cloneable

See Also:
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
 
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()
           
 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 com.beasys.commerce.foundation.BelongingImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clone, equals, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

public java.lang.String propertyName

scopeName

public java.lang.String scopeName
Constructor Detail

PropertyMapKeyImpl

public PropertyMapKeyImpl()
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Get the value of propertyName
Specified by:
getPropertyName in interface PropertyMapKey
Returns:
propertyName.

setPropertyName

public void setPropertyName(java.lang.String propertyName)
Set the value of propertyName
Specified by:
setPropertyName in interface PropertyMapKey
Parameters:
propertyName - propertyName to be added

getScopeName

public java.lang.String getScopeName()
Get the value of scopeName
Specified by:
getScopeName in interface PropertyMapKey
Returns:
scopeName.

setScopeName

public void setScopeName(java.lang.String scopeName)
Set the value of scopeName
Specified by:
setScopeName in interface PropertyMapKey
Parameters:
scopeName - scopeName to be added

value

public Belonging value()
value() is a more typesafe implementation of clone()
Returns:
a clone of this instance

interfaceName

public java.lang.String interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model
Returns:
the unqualified name of the belonging interface from the UML model

setByValue

public void setByValue(Belonging value)
It is possible to call set-by-value with a superclass. If that is the case, only the fields in the superclass will be set in this instance. The remaining fields get the default values.

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.

Overrides:
setByValue in class BelongingImpl

compareTo

public int compareTo(java.lang.Object o)
Compare this belonging to another
Overrides:
compareTo in class BelongingImpl
Parameters:
o - target object for comparision
Returns:
0 objects are equal

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved