|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BizObjectIfc
Interface BizObjectIfc
Field Summary | |
---|---|
static java.lang.String |
ATTR_IS_LOCKED
|
static java.lang.String |
ATTR_IS_LOCKEDLOCALLY
|
static java.lang.String |
ATTR_IS_READONLY
|
static java.lang.String |
ATTR_LOCKOWNER
|
static java.lang.String |
ATTR_NAME
Dynamic Attributes for BizObjectIfc |
static java.lang.String |
BO_DB_TIMESTAMP
|
static java.lang.String |
BO_ID
Some well used String constants, put here for convience |
static java.lang.String |
BO_ST
|
static java.lang.String |
BO_TIMESTAMP
|
static java.lang.String |
BO_TYPE
|
Method Summary | |
---|---|
void |
cloneObjectsAttributes(BizObjectIfc bizObject)
Clones the objects attributes to this object. |
void |
disableMergeObjectSupport()
Disables the merge objects support. |
void |
enableMergeObjectSupport()
Enables the merge objects support. |
boolean |
equals(BizObjectIfc bizObject)
Checks if this object has the same id as the biz object that its being compared to. |
long |
getBaselineId()
Gets the baseline id. |
long |
getBizObjectId()
Gets the biz object id. |
BizObjectIfc |
getFirstChild()
Gets the first child. |
long |
getId()
Gets the unique if of the implementing class.. |
java.lang.String |
getLockOwner()
Gets the lock owner. |
java.lang.String |
getName()
Gets the name property. |
BizObjectIfc |
getNextChild()
Gets the next child. |
java.lang.String |
getReadableName()
Gets the readable name. |
long |
getTimeStamp()
Gets the biz object time stamp. |
java.lang.String |
getTypeId()
Gets the type id of the implementing class.. |
boolean |
hasChildren()
Checks if it has the children. |
boolean |
isEqual(BizObjectIfc bizObject)
Checks to see if this BizObject is equal to another one. |
boolean |
isEqualWithFilter(BizObjectIfc bizObject,
java.util.List filteredAttributes)
Checks to see if this BizObject is equal to another one, But ignores attribute values as specified in the list. |
boolean |
isLocked()
Gets the lock flag |
boolean |
isMergeObjectSupportEnabled()
Checks if the merge objects support is enabled. |
boolean |
isReadOnly()
Gets the read-only flag |
void |
setBaselineId(long oid)
Sets the baseline id. |
void |
setBizObjectId(long oid)
Sets the biz object id. |
void |
setId(long oid)
Sets the id. |
void |
setIsLocked(boolean locked)
Sets the lock flag |
void |
setIsReadOnly(boolean readOnly)
Sets the read-only flag |
void |
setLockOwner(java.lang.String lockOwner)
Sets the lock owner. |
void |
setName(java.lang.String name)
Sets the name property |
void |
setTimeStamp(long timeStamp)
Sets the biz object time stamp. |
void |
setTimeStampNoParentUpdate(long timeStamp)
Sets the biz object time stamp, but doesn't update its parents time stamp. |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ParentIfc |
---|
addChild, addChildAt, addParentListener, decrementChildPosition, fireChildEvent, fireChildEvent, getChild, getChild, getChildById, getChildren, getChildren, getChildren, getNextChild, getParentListeners, getPreviousChild, hasChild, hasChildById, incrementChildPosition, moveChild, numChildren, reInitialiseListeners, removeChild, removeParentListener, silentlyAddChild, silentlyAddChildAt, silentlyRemoveChild |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ChildIfc |
---|
addChildListener, getChildListeners, getParent, getParent, moveChild, moveChildAt, removeChildListener, setParent |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.AssociateIfc |
---|
addAssociate, addAssociateListener, addInwardAssociate, fireAssociateEvent, getAssociate, getAssociateListeners, getAssociates, getAssociates, getInwardAssociates, getInwardAssociates, getOutwardAssociates, getOutwardAssociates, hasAssociate, hasInwardAssociate, hasOutwardAssociate, numAssociates, numInwardAssociates, numOutwardAssociates, removeAssociate, removeAssociateListener, removeInwardAssociate |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PersistentIfc |
---|
customPropertiesToDocArray, getChildDocPersistObjects, toDocArray, toSQL |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PropertiesContainerIfc |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface com.compuware.optimaltrace.framework.dynattribute.DynAttributeIfc |
---|
getAttributeTable, getAttributeTimeStamp, getBooleanAttribute, getIntAttribute, getLongAttribute, getObjectAttribute, getShortAttribute, getStringAttribute, getTimeStamp, getTimeStampTable, hasAttribute, removeAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNoTimeStampUpdate, setAttributeNoTimeStampUpdate, setAttributeTable, setAttributeTimeStamp, setObjectAttribute, setTimeStampTable |
Field Detail |
---|
static final java.lang.String ATTR_NAME
static final java.lang.String ATTR_IS_READONLY
static final java.lang.String ATTR_IS_LOCKED
static final java.lang.String ATTR_IS_LOCKEDLOCALLY
static final java.lang.String ATTR_LOCKOWNER
static final java.lang.String BO_ID
static final java.lang.String BO_ST
static final java.lang.String BO_TIMESTAMP
static final java.lang.String BO_DB_TIMESTAMP
static final java.lang.String BO_TYPE
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- java.lang.String getTypeId()
java.lang.String getReadableName()
long getId()
void setId(long oid)
oid
- long getBaselineId()
void setBaselineId(long oid)
oid
- long getBizObjectId()
void setBizObjectId(long oid)
oid
- long getTimeStamp()
void setTimeStamp(long timeStamp)
timeStamp
- void setTimeStampNoParentUpdate(long timeStamp)
timeStamp
- void setIsReadOnly(boolean readOnly)
readOnly
- boolean isReadOnly()
void setIsLocked(boolean locked)
locked
- boolean isLocked()
java.lang.String getLockOwner()
void setLockOwner(java.lang.String lockOwner)
lockOwner
- void cloneObjectsAttributes(BizObjectIfc bizObject)
bizObject
- boolean equals(BizObjectIfc bizObject)
bizObject
-
boolean isEqual(BizObjectIfc bizObject) throws com.compuware.optimaltrace.framework.business.ObjectsNotEqualException
bizObject
-
ObjectsNotEqualException
boolean isEqualWithFilter(BizObjectIfc bizObject, java.util.List filteredAttributes) throws com.compuware.optimaltrace.framework.business.ObjectsNotEqualException
bizObject
- filteredAttributes
-
ObjectsNotEqualException
void enableMergeObjectSupport()
void disableMergeObjectSupport()
boolean isMergeObjectSupportEnabled()
BizObjectIfc getFirstChild()
boolean hasChildren()
BizObjectIfc getNextChild()
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |