public class ProjectObjectPath extends BasePOJO implements BasicProjectObjectPath
Constructor and Description |
---|
ProjectObjectPath(ProjectObjectTypeMetadata pProjectObjectTypeMetadata,
ProjectObjectsByType pParent,
java.lang.String pObjectPath) |
ProjectObjectPath(ProjectObjectTypeMetadata pProjectObjectTypeMetadata,
ProjectObjectsByType pParent,
java.lang.String pObjectPath,
java.lang.String pSubcomponentName,
java.lang.String pSubcomponentType) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
copyFrom(ProjectObjectPath pCopyFrom)
copy done for edit operations on UI, mainly use on dummy path instances only.
|
void |
delete() |
static void |
endADFBCCall() |
ProjectObjectPathAttribute |
getAttributeByAttributeCode(java.lang.String pAttributeCode) |
ProjectObjectPathAttribute |
getAttributeByAttributeDefId(java.lang.Long pDefId) |
java.util.Map<java.lang.String,java.io.Serializable> |
getAttributesAsMap() |
java.util.Map<java.lang.Long,ProjectObjectPathAttribute> |
getAttributesMap() |
ProjectObjectTypeMetadata |
getDefinition() |
java.lang.Long |
getDummyId() |
java.lang.String |
getIconSource() |
java.lang.String |
getIsActive() |
java.lang.String |
getObjectPath() |
java.lang.String |
getObjectTypeCode() |
ProjectObjectsByType |
getParent() |
java.lang.Long |
getProjectId() |
java.util.Collection<ProjectObjectPathAttribute> |
getProjectObjectAttributes() |
java.lang.Long |
getProjectObjectId() |
java.lang.Integer |
getSequenceNumber() |
java.lang.String |
getSourceAttributeValue() |
java.lang.String |
getSubcomponentName() |
java.lang.String |
getSubcomponentType() |
boolean |
hasUncommittedChanges() |
void |
initializeAttributes(java.util.Map<java.lang.String,java.io.Serializable> pNewAttributes)
Input structure is Object Attribute Code vs it's value
|
boolean |
isActive() |
boolean |
isDirty() |
boolean |
isNew() |
boolean |
isSelected() |
void |
regenerateDummyId() |
void |
setIsActive(java.lang.String pIsActive) |
void |
setObjectPath(java.lang.String pObjectPath) |
void |
setSelected(boolean pSelected) |
void |
setSequenceNumber(java.lang.Integer pSequenceNumber) |
void |
setSubcomponentName(java.lang.String pSubcomponentName) |
void |
setSubcomponentType(java.lang.String pSubcomponentType) |
static void |
startADFBCCall() |
ProjectObjectDataObject |
toProjectObjectDataObject(boolean pIncludeAttributes) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
java.util.List<java.lang.String> |
validate() |
public ProjectObjectPath(ProjectObjectTypeMetadata pProjectObjectTypeMetadata, ProjectObjectsByType pParent, java.lang.String pObjectPath)
public ProjectObjectPath(ProjectObjectTypeMetadata pProjectObjectTypeMetadata, ProjectObjectsByType pParent, java.lang.String pObjectPath, java.lang.String pSubcomponentName, java.lang.String pSubcomponentType)
public static void startADFBCCall()
public static void endADFBCCall()
public void initializeAttributes(java.util.Map<java.lang.String,java.io.Serializable> pNewAttributes)
pNewAttributes
- public java.util.Map<java.lang.String,java.io.Serializable> getAttributesAsMap()
public void delete()
public void activate()
public java.lang.Long getDummyId()
public ProjectObjectTypeMetadata getDefinition()
public ProjectObjectsByType getParent()
public java.lang.Long getProjectId()
public java.lang.String getObjectPath()
getObjectPath
in interface BasicProjectObjectPath
public void setObjectPath(java.lang.String pObjectPath)
public void setSubcomponentName(java.lang.String pSubcomponentName)
public java.lang.String getSubcomponentName()
public void setSubcomponentType(java.lang.String pSubcomponentType)
public java.lang.String getSubcomponentType()
public boolean isNew()
public java.lang.Long getProjectObjectId()
public boolean isDirty()
public void setSelected(boolean pSelected)
public boolean isSelected()
public void setSequenceNumber(java.lang.Integer pSequenceNumber)
public java.lang.Integer getSequenceNumber()
public void setIsActive(java.lang.String pIsActive)
public boolean isActive()
public java.lang.String getIsActive()
public java.lang.String getIconSource()
public java.util.Map<java.lang.Long,ProjectObjectPathAttribute> getAttributesMap()
public java.util.Collection<ProjectObjectPathAttribute> getProjectObjectAttributes()
public ProjectObjectPathAttribute getAttributeByAttributeDefId(java.lang.Long pDefId)
public ProjectObjectPathAttribute getAttributeByAttributeCode(java.lang.String pAttributeCode)
public boolean hasUncommittedChanges()
public java.lang.String toString()
BasePOJO
public java.util.List<java.lang.String> validate()
public void copyFrom(ProjectObjectPath pCopyFrom)
pCopyFrom
- public void regenerateDummyId()
public java.lang.String getObjectTypeCode()
getObjectTypeCode
in interface BasicProjectObjectPath
public java.lang.String getSourceAttributeValue()
public ProjectObjectDataObject toProjectObjectDataObject(boolean pIncludeAttributes)