BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class AbstractPropertyMetaDataImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.BelongingImpl
        |
        +--com.beasys.commerce.foundation.property.AbstractPropertyMetaDataImpl
Direct Known Subclasses:
PropertyMetaDataBooleanImpl, PropertyMetaDataDoubleImpl, PropertyMetaDataFloatImpl, PropertyMetaDataIntegerImpl, PropertyMetaDataLongImpl, PropertyMetaDataTextImpl, PropertyMetaDataTimeStampImpl

public class AbstractPropertyMetaDataImpl
extends BelongingImpl
implements AbstractPropertyMetaData, java.lang.Cloneable

has a column for pk which is generated by a sequencer and never appears in the model

See Also:
AbstractPropertyMetaData, AbstractPropertyMetaDataHome, Serialized Form

Field Summary
 java.lang.Boolean isDefault
           Containment: By Value Multiplicity: 1:1
 long propertyKey
           Containment: By Value Multiplicity: 1:1
 long propertyMetaDataId
           Containment: By Value Multiplicity: 1:1
 
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber
 
Constructor Summary
AbstractPropertyMetaDataImpl()
           
 
Method Summary
 int compareTo(java.lang.Object o)
          Compare this belonging to another
 java.lang.Object extractValue()
           
 java.lang.Boolean getIsDefault()
          Get the value of isDefault
 long getPropertyKey()
          Get the value of propertyKey
 long getPropertyMetaDataId()
          Get the value of propertyMetaDataId
 java.lang.String interfaceName()
          interfaceName() returns the unqualified name of the interface from the UML model
 void putValue(java.lang.Object value)
           
 void setByValue(Belonging value)
          It is possible to call set-by-value with a superclass.
 void setIsDefault(java.lang.Boolean isDefault)
          Set the value of isDefault
 void setPropertyKey(long propertyKey)
          Set the value of propertyKey
 void setPropertyMetaDataId(long propertyMetaDataId)
          Set the value of propertyMetaDataId
 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, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyMetaDataId

public long propertyMetaDataId

propertyKey

public long propertyKey

isDefault

public java.lang.Boolean isDefault
Constructor Detail

AbstractPropertyMetaDataImpl

public AbstractPropertyMetaDataImpl()
Method Detail

getPropertyMetaDataId

public long getPropertyMetaDataId()
Get the value of propertyMetaDataId
Specified by:
getPropertyMetaDataId in interface AbstractPropertyMetaData
Returns:
propertyMetaDataId.

setPropertyMetaDataId

public void setPropertyMetaDataId(long propertyMetaDataId)
Set the value of propertyMetaDataId
Specified by:
setPropertyMetaDataId in interface AbstractPropertyMetaData
Parameters:
propertyMetaDataId - propertyMetaDataId to be added

getPropertyKey

public long getPropertyKey()
Get the value of propertyKey
Specified by:
getPropertyKey in interface AbstractPropertyMetaData
Returns:
propertyKey.

setPropertyKey

public void setPropertyKey(long propertyKey)
Set the value of propertyKey
Specified by:
setPropertyKey in interface AbstractPropertyMetaData
Parameters:
propertyKey - propertyKey to be added

getIsDefault

public java.lang.Boolean getIsDefault()
Get the value of isDefault
Specified by:
getIsDefault in interface AbstractPropertyMetaData
Returns:
isDefault.

setIsDefault

public void setIsDefault(java.lang.Boolean isDefault)
Set the value of isDefault
Specified by:
setIsDefault in interface AbstractPropertyMetaData
Parameters:
isDefault - isDefault 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

putValue

public void putValue(java.lang.Object value)
Specified by:
putValue in interface AbstractPropertyMetaData

extractValue

public java.lang.Object extractValue()
Specified by:
extractValue in interface AbstractPropertyMetaData

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved