类 NutD

    • 字段详细资料

      • primerObj

        protected transient Object primerObj
        存储对象的原始内容,比如,本地文件或者目录对象,或者对应的某条数据库记录
      • meta

        protected org.nutz.lang.util.NutMap meta
        文档的一些元数据,固定的元数据有
        • title : 文档标题
        • author : 作者
        • tags : 标签(是一个数组)
    • 构造器详细资料

      • NutD

        public NutD​(String name)
    • 方法详细资料

      • getPrimerObj

        public Object getPrimerObj()
      • setPrimerObj

        public void setPrimerObj​(Object obj)
      • isRoot

        public boolean isRoot()
      • isDoc

        public abstract boolean isDoc()
      • isSet

        public abstract boolean isSet()
      • remove

        public void remove()
      • getHome

        public NutDSet getHome()
      • getPath

        public String getPath()
      • hasParent

        public boolean hasParent()
      • getParent

        public NutDSet getParent()
      • setParent

        public void setParent​(NutDSet parent)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getMeta

        public org.nutz.lang.util.NutMap getMeta()
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • hasAuthor

        public boolean hasAuthor()
      • addAuthors

        public void addAuthors​(String... authors)
      • addAuthors

        public void addAuthors​(List<String> authors)
      • hasTags

        public boolean hasTags()
      • addTags

        public void addTags​(String... tags)
      • addTags

        public void addTags​(List<String> tags)