Class AbstractArtefact

    • Field Detail

      • dynamicName

        protected DynamicValue<java.lang.String> dynamicName
      • useDynamicName

        protected boolean useDynamicName
      • description

        protected java.lang.String description
      • customAttributes

        protected java.util.Map<java.lang.String,​java.lang.Object> customAttributes
      • attachments

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

        protected boolean persistNode
    • Constructor Detail

      • AbstractArtefact

        public AbstractArtefact()
    • Method Detail

      • getArtefactName

        public static java.lang.String getArtefactName​(java.lang.Class<? extends AbstractArtefact> artefactClass)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • setChildren

        public void setChildren​(java.util.List<AbstractArtefact> children)
      • getCustomAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getCustomAttributes()
      • setCustomAttributes

        public void setCustomAttributes​(java.util.Map<java.lang.String,​java.lang.Object> customAttributes)
      • getCustomAttribute

        public java.lang.Object getCustomAttribute​(java.lang.String key)
      • addCustomAttribute

        public void addCustomAttribute​(java.lang.String key,
                                       java.lang.Object value)
      • addAttachment

        public void addAttachment​(org.bson.types.ObjectId attachmentId)
      • setAttachments

        public void setAttachments​(java.util.List<org.bson.types.ObjectId> attachments)
      • getAttachments

        public java.util.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