Package us.kbase.workspace
Class ObjectData
- java.lang.Object
-
- us.kbase.workspace.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 Summary
Constructors Constructor Description ObjectData()
-
Method Summary
-
-
-
Method Detail
-
getData
public UObject getData()
-
setData
public void setData(UObject data)
-
withData
public ObjectData withData(UObject data)
-
getInfo
public Tuple11<Long,String,String,String,Long,String,Long,String,String,Long,Map<String,String>> getInfo()
-
setInfo
public void setInfo(Tuple11<Long,String,String,String,Long,String,Long,String,String,Long,Map<String,String>> info)
-
withInfo
public ObjectData withInfo(Tuple11<Long,String,String,String,Long,String,Long,String,String,Long,Map<String,String>> info)
-
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.
-
withInfostruct
public ObjectData withInfostruct(ObjectInfo infostruct)
-
withPath
public ObjectData withPath(List<String> path)
-
getProvenance
public List<ProvenanceAction> getProvenance()
-
setProvenance
public void setProvenance(List<ProvenanceAction> provenance)
-
withProvenance
public ObjectData withProvenance(List<ProvenanceAction> provenance)
-
getCreator
public String getCreator()
-
setCreator
public void setCreator(String creator)
-
withCreator
public ObjectData withCreator(String creator)
-
getOrigWsid
public Long getOrigWsid()
-
setOrigWsid
public void setOrigWsid(Long origWsid)
-
withOrigWsid
public ObjectData withOrigWsid(Long origWsid)
-
getCreated
public String getCreated()
-
setCreated
public void setCreated(String created)
-
withCreated
public ObjectData withCreated(String created)
-
getEpoch
public Long getEpoch()
-
setEpoch
public void setEpoch(Long epoch)
-
withEpoch
public ObjectData withEpoch(Long epoch)
-
withRefs
public ObjectData withRefs(List<String> refs)
-
getCopied
public String getCopied()
-
setCopied
public void setCopied(String copied)
-
withCopied
public ObjectData withCopied(String copied)
-
getCopySourceInaccessible
public Long getCopySourceInaccessible()
-
setCopySourceInaccessible
public void setCopySourceInaccessible(Long copySourceInaccessible)
-
withCopySourceInaccessible
public ObjectData withCopySourceInaccessible(Long copySourceInaccessible)
-
withExtractedIds
public ObjectData withExtractedIds(Map<String,List<String>> extractedIds)
-
getHandleError
public String getHandleError()
-
setHandleError
public void setHandleError(String handleError)
-
withHandleError
public ObjectData withHandleError(String handleError)
-
getHandleStacktrace
public String getHandleStacktrace()
-
setHandleStacktrace
public void setHandleStacktrace(String handleStacktrace)
-
withHandleStacktrace
public ObjectData withHandleStacktrace(String handleStacktrace)
-
-