Class AbstractObj

    • Field Detail

      • meta

        protected final Meta meta
    • Constructor Detail

      • AbstractObj

        protected AbstractObj​(Meta meta)
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns internally generated ID of the object (that's part of the object URI).
        Returns:
        internal ID of the object
      • getAuthor

        public java.lang.String getAuthor()
      • getContributor

        public java.lang.String getContributor()
      • getCreated

        public java.time.ZonedDateTime getCreated()
      • getSummary

        public java.lang.String getSummary()
      • setSummary

        public void setSummary​(java.lang.String summary)
      • getTitle

        public java.lang.String getTitle()
      • setTitle

        public void setTitle​(java.lang.String title)
      • getUpdated

        public java.time.ZonedDateTime getUpdated()
      • getCategory

        public java.lang.String getCategory()
      • setCategory

        public void setCategory​(java.lang.String category)
      • getTags

        public java.util.Set<java.lang.String> getTags()
      • setTags

        public void setTags​(java.util.Set<java.lang.String> tags)
      • getUri

        public java.lang.String getUri()
      • isDeprecated

        public boolean isDeprecated()
      • setDeprecated

        public void setDeprecated​(java.lang.Boolean deprecated)
      • getIdentifier

        public java.lang.String getIdentifier()
        Returns user-specified identifier of the object.
        Returns:
        user-specified object identifier
      • setIdentifier

        public void setIdentifier​(java.lang.String identifier)
      • isLocked

        public boolean isLocked()
      • setLocked

        public void setLocked​(java.lang.Boolean locked)
      • isUnlisted

        public boolean isUnlisted()
      • setUnlisted

        public void setUnlisted​(java.lang.Boolean unlisted)
      • isProduction

        public boolean isProduction()
      • setProduction

        public void setProduction​(java.lang.Boolean production)
      • isSharedWithSomeone

        public boolean isSharedWithSomeone()
      • setSharedWithSomeone

        public void setSharedWithSomeone​(java.lang.Boolean sharedWithSomeone)
      • getFlags

        public java.util.Set<java.lang.String> getFlags()
      • setFlags

        public void setFlags​(java.util.Set<java.lang.String> flags)
      • uris

        @SafeVarargs
        protected static <T extends Obj> java.lang.String[] uris​(T... objs)
        Get list of URIs of the given Objs
        Type Parameters:
        T - Obj type
        Parameters:
        objs - metadata objects
        Returns:
        list of URIs
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object