public abstract class AbstractArtefact extends AbstractOrganizableObject
| Modifier and Type | Field and Description |
|---|---|
protected List<org.bson.types.ObjectId> |
attachments |
protected List<org.bson.types.ObjectId> |
childrenIDs |
protected boolean |
createSkeleton |
protected Map<String,Object> |
customAttributes |
protected String |
description |
protected boolean |
root |
attributes, NAME, VERSION_id, customFields| Constructor and Description |
|---|
AbstractArtefact() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int pos,
org.bson.types.ObjectId artefactID) |
void |
addAttachment(org.bson.types.ObjectId attachmentId) |
void |
addChild(org.bson.types.ObjectId artefactID) |
void |
addCustomAttribute(String key,
Object value) |
boolean |
equals(Object obj) |
List<org.bson.types.ObjectId> |
getAttachments() |
List<org.bson.types.ObjectId> |
getChildrenIDs() |
Object |
getCustomAttribute(String key) |
Map<String,Object> |
getCustomAttributes() |
String |
getDescription() |
int |
hashCode() |
int |
indexOf(org.bson.types.ObjectId artefactID) |
boolean |
isCreateSkeleton() |
boolean |
isRoot() |
void |
removeChild(org.bson.types.ObjectId artefactID) |
void |
setAttachments(List<org.bson.types.ObjectId> attachments) |
void |
setChildrenIDs(List<org.bson.types.ObjectId> childrenIDs) |
void |
setCreateSkeleton(boolean createSkeleton) |
void |
setCustomAttributes(Map<String,Object> customAttributes) |
void |
setDescription(String description) |
void |
setRoot(boolean root) |
getAttributes, setAttributesaddCustomField, getCustomField, getCustomFields, getId, setCustomFields, setIdprotected String description
protected List<org.bson.types.ObjectId> childrenIDs
protected List<org.bson.types.ObjectId> attachments
protected boolean createSkeleton
protected boolean root
public String getDescription()
public void setDescription(String description)
public void addChild(org.bson.types.ObjectId artefactID)
public void removeChild(org.bson.types.ObjectId artefactID)
public int indexOf(org.bson.types.ObjectId artefactID)
public void add(int pos,
org.bson.types.ObjectId artefactID)
public List<org.bson.types.ObjectId> getChildrenIDs()
public void setChildrenIDs(List<org.bson.types.ObjectId> childrenIDs)
public boolean isRoot()
public void setRoot(boolean root)
public void addAttachment(org.bson.types.ObjectId attachmentId)
public void setAttachments(List<org.bson.types.ObjectId> attachments)
public List<org.bson.types.ObjectId> getAttachments()
public boolean isCreateSkeleton()
public void setCreateSkeleton(boolean createSkeleton)
Copyright © 2020. All rights reserved.