Class VersionMetaData


  • public class VersionMetaData
    extends Object
    Root Type for ArtifactVersionMetaData

    • Constructor Detail

      • VersionMetaData

        public VersionMetaData()
    • Method Detail

      • getVersion

        public String getVersion()
        (Required)
      • setVersion

        public void setVersion​(String version)
        (Required)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getCreatedBy

        public String getCreatedBy()
        (Required)
      • setCreatedBy

        public void setCreatedBy​(String createdBy)
        (Required)
      • getCreatedOn

        public Date getCreatedOn()
        (Required)
      • setCreatedOn

        public void setCreatedOn​(Date createdOn)
        (Required)
      • setType

        public void setType​(ArtifactType type)
        (Required)
      • getGlobalId

        public Long getGlobalId()
        (Required)
      • setGlobalId

        public void setGlobalId​(Long globalId)
        (Required)
      • getState

        public ArtifactState getState()
        Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
      • setState

        public void setState​(ArtifactState state)
        Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
      • getId

        public String getId()
        The ID of a single artifact. (Required)
      • setId

        public void setId​(String id)
        The ID of a single artifact. (Required)
      • setLabels

        public void setLabels​(List<String> labels)
      • getProperties

        public Map<String,​String> getProperties()
        User-defined name-value pairs. Name and value must be strings.
      • setProperties

        public void setProperties​(Map<String,​String> properties)
        User-defined name-value pairs. Name and value must be strings.
      • getGroupId

        public String getGroupId()
        An ID of a single artifact group.
      • setGroupId

        public void setGroupId​(String groupId)
        An ID of a single artifact group.
      • getContentId

        public Long getContentId()
        (Required)
      • setContentId

        public void setContentId​(Long contentId)
        (Required)