Class AbstractArtefact

    • Field Detail

      • useDynamicName

        protected boolean useDynamicName
      • description

        protected String description
      • attachments

        protected List<org.bson.types.ObjectId> attachments
      • persistNode

        protected boolean persistNode
    • Constructor Detail

      • AbstractArtefact

        public AbstractArtefact()
    • Method Detail

      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • setCustomAttributes

        public void setCustomAttributes​(Map<String,​Object> customAttributes)
      • getCustomAttribute

        public Object getCustomAttribute​(String key)
      • addCustomAttribute

        public void addCustomAttribute​(String key,
                                       Object value)
      • 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()
      • isPropertyArefact

        public boolean isPropertyArefact()
        Property artefacts are special artefacts that are directly attached to their parent artefact. Property artefacts are not subject to transclusion and remain attached to their parent. They are executed in 2 phases.
      • During the first phase the method ArtafactHandler.initProperties is called for each property artefacts before their parent artefact is executed.
      • The second phase starts after execution of the parent artefact. During the second phase all the property artefact are executed (ArtafactHandler.execute_)
Returns:
true if this artefact is a property artefact