Package step.core.artefacts
Class AbstractArtefact
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.core.accessors.AbstractOrganizableObject
-
- step.core.artefacts.AbstractArtefact
-
public abstract class AbstractArtefact extends step.core.accessors.AbstractOrganizableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.bson.types.ObjectId>attachmentsprotected List<AbstractArtefact>childrenprotected Map<String,Object>customAttributesprotected Stringdescriptionprotected booleanpersistNode
-
Constructor Summary
Constructors Constructor Description AbstractArtefact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttachment(org.bson.types.ObjectId attachmentId)booleanaddChild(AbstractArtefact e)voidaddCustomAttribute(String key, Object value)booleanequals(Object obj)List<org.bson.types.ObjectId>getAttachments()List<AbstractArtefact>getChildren()ObjectgetCustomAttribute(String key)Map<String,Object>getCustomAttributes()StringgetDescription()step.core.dynamicbeans.DynamicValue<Boolean>getSkipNode()inthashCode()booleanisCreateSkeleton()booleanisPersistNode()voidsetAttachments(List<org.bson.types.ObjectId> attachments)voidsetChildren(List<AbstractArtefact> children)voidsetCustomAttributes(Map<String,Object> customAttributes)voidsetDescription(String description)voidsetPersistNode(boolean persistNode)voidsetSkipNode(step.core.dynamicbeans.DynamicValue<Boolean> skipNode)-
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttributes, setAttributes
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getChildren
public List<AbstractArtefact> getChildren()
-
setChildren
public void setChildren(List<AbstractArtefact> children)
-
addChild
public boolean addChild(AbstractArtefact e)
-
addAttachment
public void addAttachment(org.bson.types.ObjectId attachmentId)
-
setAttachments
public void setAttachments(List<org.bson.types.ObjectId> attachments)
-
getAttachments
public List<org.bson.types.ObjectId> getAttachments()
-
isCreateSkeleton
public boolean isCreateSkeleton()
-
isPersistNode
public boolean isPersistNode()
-
setPersistNode
public void setPersistNode(boolean persistNode)
-
getSkipNode
public step.core.dynamicbeans.DynamicValue<Boolean> getSkipNode()
-
setSkipNode
public void setSkipNode(step.core.dynamicbeans.DynamicValue<Boolean> skipNode)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classstep.core.accessors.AbstractIdentifiableObject
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classstep.core.accessors.AbstractIdentifiableObject
-
-