BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class PropertyMapKeyImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.BelongingImpl
        |
        +--com.beasys.commerce.foundation.property.PropertyMapKeyImpl
All Implemented Interfaces:
Belonging, BusinessSmartComponent, java.lang.Cloneable, java.lang.Comparable, PropertyMapKey, RelationalReference, java.io.Serializable

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, _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 com.beasys.commerce.foundation.BelongingImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clone, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, equals, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey,
 
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

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()
Specified by:
value in interface Belonging
Returns:
a clone of this instance

interfaceName

public java.lang.String interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model
Specified by:
interfaceName in interface Belonging
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.

Specified by:
setByValue in interface Belonging
Overrides:
setByValue in class BelongingImpl
Following copied from interface: com.beasys.commerce.foundation.Belonging
Parameters:
belonging - The Belonging to use for initialization.

compareTo

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

hashCode

public int hashCode()
Description copied from class: BelongingImpl
Returns a hash code for this Belonging.
Overrides:
hashCode in class BelongingImpl
Following copied from class: com.beasys.commerce.foundation.BelongingImpl
Returns:
The hash code for this Belonging.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved