public class UIERMEntity extends ERMEntity implements java.io.Serializable
Constructor and Description |
---|
UIERMEntity() |
UIERMEntity(org.w3c.dom.Element controlElement)
Constructor for the class taking the presentation element that the entity was created from.
|
Modifier and Type | Method and Description |
---|---|
ERMAttribute |
addAttribute(ERMAttribute attribute)
Adds and ERMAttribute the the entity's attribute list.
|
void |
addChildEntity(java.lang.String name,
ERMEntity entity)
This method adds a related entity (child) entity to this entity with a specified name.
|
void |
addCondUISigOption(java.lang.String sigOption,
UIERMAttribute attribute)
This adds the passed in sigoption to the list of sigoptions that will need to be
evaluated for conditional ui.
|
UIERMEntity |
clone()
This will check if this ERMEntity has already been cloned.
|
java.util.Map<java.lang.String,java.util.Map<UIERMEntity,java.util.List<UIERMAttribute>>> |
getCondUISigOptions()
The structure that is holding the sigoptions that need to be evaluated on this enitity
is a map of maps.
|
java.lang.String |
getCreatingControlId()
Returns the id of the control that this entity was created from.
|
ERMEntity |
getEntityForMbo() |
ERMEntity |
getRelatedEntity(java.lang.String relationship)
Returns the child entity whose Mbo relationship is the same as the relationship passed in.
|
java.lang.String |
getRelationship()
Returns the relationship used by the data source which is represented by this entity.
|
int |
getSiteOrgValuesKey() |
MboSetRemote |
getZombieMboSet(MXSession mxSession,
java.lang.String appName) |
boolean |
hasSiteOrgDomains() |
boolean |
isCloned() |
void |
setCreatingControl(org.w3c.dom.Element creatingElement)
Sets the control that creates the data source that the entity is based on.
|
void |
setIsCloned(boolean aBool) |
void |
setName(java.lang.String name)
Sets the name of the entity
|
getAttribute, getAttributes, getChildEntities, getChildEntity, getName, getParentEntity
public UIERMEntity()
public UIERMEntity(org.w3c.dom.Element controlElement)
controlElement
- public ERMEntity getRelatedEntity(java.lang.String relationship)
getRelatedEntity
in class ERMEntity
relationship
- The Mbo relationship used by a child entitypublic java.lang.String getCreatingControlId()
public void setCreatingControl(org.w3c.dom.Element creatingElement)
creatingElement
- - The control element that the entity is based on.public java.lang.String getRelationship()
public void addCondUISigOption(java.lang.String sigOption, UIERMAttribute attribute)
sigOption
- The sigoption to add to the entity's listattribute
- The attribute whose inputmode could change as a result of the eval of the sigoptionpublic java.util.Map<java.lang.String,java.util.Map<UIERMEntity,java.util.List<UIERMAttribute>>> getCondUISigOptions()
public ERMAttribute addAttribute(ERMAttribute attribute)
ERMEntity
addAttribute
in class ERMEntity
attribute
- The ERMAttribute to add to the listpublic ERMEntity getEntityForMbo()
public void addChildEntity(java.lang.String name, ERMEntity entity)
ERMEntity
addChildEntity
in class ERMEntity
name
- The name of the child entityentity
- The child ERMEntity to add to this entitypublic void setName(java.lang.String name)
ERMEntity
public MboSetRemote getZombieMboSet(MXSession mxSession, java.lang.String appName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasSiteOrgDomains()
public int getSiteOrgValuesKey()
public boolean isCloned()
public void setIsCloned(boolean aBool)
public UIERMEntity clone()
clone
in class java.lang.Object