Class ObjectData


  • @Generated("com.googlecode.jsonschema2pojo")
    public class ObjectData
    extends Object

    Original spec-file type: ObjectData

     The data and supplemental info for an object.
                     UnspecifiedObject data - the object's data or subset data.
                     object_info info - information about the object.
                     ObjectInfo infostruct - information about the object as a structure rather than a tuple.
                     list path - the path to the object through the object reference graph. All the
                             references in the path are absolute.
                     list provenance - the object's provenance.
                     username creator - the user that first saved the object to the workspace.
                     ws_id orig_wsid - the id of the workspace in which this object was
                                     originally saved. Missing for objects saved prior to version
                                     0.4.1.
                     timestamp created - the date the object was first saved to the
                             workspace.
                     epoch epoch - the date the object was first saved to the
                             workspace.
                     list refs - the references contained within the object.
                     obj_ref copied - the reference of the source object if this object is
                             a copy and the copy source exists and is accessible.
                             null otherwise.
                     boolean copy_source_inaccessible - true if the object was copied from
                             another object, but that object is no longer accessible to the
                             user. False otherwise.
                     mapping> extracted_ids - any ids extracted
                             from the object.
                     string handle_error - if an error occurs while setting ACLs on
                             embedded external IDs, it will be reported here. If not for historical reasons the
                             parameter would be called "external_id_error".
                     string handle_stacktrace - the stacktrace for handle_error. As above, the parameter
                             should be called "external_id_stacktrace".
     
    • Constructor Detail

      • ObjectData

        public ObjectData()
    • Method Detail

      • getData

        public UObject getData()
      • setData

        public void setData​(UObject data)
      • getInfostruct

        public ObjectInfo getInfostruct()

        Original spec-file type: ObjectInfo

         Information about an object as a struct rather than a tuple.
         This allows adding fields in a backward compatible way in the future.
         Includes more fields than object_info.
         obj_id objid - the numerical id of the object.
         obj_name name - the name of the object.
         type_string type - the type of the object.
         timestamp save_date - the save date of the object.
         obj_ver ver - the version of the object.
         username saved_by - the user that saved or copied the object.
         ws_id wsid - the workspace containing the object.
         ws_name workspace - the workspace containing the object.
         string chsum - the md5 checksum of the object.
         int size - the size of the object in bytes.
         usermeta meta - arbitrary user-supplied metadata about the object.
         usermeta adminmeta - service administrator metadata set on an object. Unlike most
                 other object fields, admin metadata is mutable.
         list path - the path to the object.
         
      • setInfostruct

        public void setInfostruct​(ObjectInfo infostruct)

        Original spec-file type: ObjectInfo

         Information about an object as a struct rather than a tuple.
         This allows adding fields in a backward compatible way in the future.
         Includes more fields than object_info.
         obj_id objid - the numerical id of the object.
         obj_name name - the name of the object.
         type_string type - the type of the object.
         timestamp save_date - the save date of the object.
         obj_ver ver - the version of the object.
         username saved_by - the user that saved or copied the object.
         ws_id wsid - the workspace containing the object.
         ws_name workspace - the workspace containing the object.
         string chsum - the md5 checksum of the object.
         int size - the size of the object in bytes.
         usermeta meta - arbitrary user-supplied metadata about the object.
         usermeta adminmeta - service administrator metadata set on an object. Unlike most
                 other object fields, admin metadata is mutable.
         list path - the path to the object.
         
      • setPath

        public void setPath​(List<String> path)
      • getCreator

        public String getCreator()
      • setCreator

        public void setCreator​(String creator)
      • getOrigWsid

        public Long getOrigWsid()
      • setOrigWsid

        public void setOrigWsid​(Long origWsid)
      • getCreated

        public String getCreated()
      • setCreated

        public void setCreated​(String created)
      • getEpoch

        public Long getEpoch()
      • setEpoch

        public void setEpoch​(Long epoch)
      • setRefs

        public void setRefs​(List<String> refs)
      • getCopied

        public String getCopied()
      • setCopied

        public void setCopied​(String copied)
      • getCopySourceInaccessible

        public Long getCopySourceInaccessible()
      • setCopySourceInaccessible

        public void setCopySourceInaccessible​(Long copySourceInaccessible)
      • withCopySourceInaccessible

        public ObjectData withCopySourceInaccessible​(Long copySourceInaccessible)
      • getHandleError

        public String getHandleError()
      • setHandleError

        public void setHandleError​(String handleError)
      • getHandleStacktrace

        public String getHandleStacktrace()
      • setHandleStacktrace

        public void setHandleStacktrace​(String handleStacktrace)
      • withHandleStacktrace

        public ObjectData withHandleStacktrace​(String handleStacktrace)
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperties

        public void setAdditionalProperties​(String name,
                                            Object value)