Package us.kbase.workspace
Class ObjectIdentity
- java.lang.Object
-
- us.kbase.workspace.ObjectIdentity
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectIdentity extends ObjectOriginal spec-file type: ObjectIdentity
An object identifier. Select an object by either: One, and only one, of the numerical id or name of the workspace. ws_id wsid - the numerical ID of the workspace. ws_name workspace - the name of the workspace. AND One, and only one, of the numerical id or name of the object. obj_id objid- the numerical ID of the object. obj_name name - name of the object. OPTIONALLY obj_ver ver - the version of the object. OR an object reference string: obj_ref ref - an object reference string.
-
-
Constructor Summary
Constructors Constructor Description ObjectIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()StringgetName()LonggetObjid()StringgetRef()LonggetVer()StringgetWorkspace()LonggetWsid()voidsetAdditionalProperties(String name, Object value)voidsetName(String name)voidsetObjid(Long objid)voidsetRef(String ref)voidsetVer(Long ver)voidsetWorkspace(String workspace)voidsetWsid(Long wsid)StringtoString()ObjectIdentitywithName(String name)ObjectIdentitywithObjid(Long objid)ObjectIdentitywithRef(String ref)ObjectIdentitywithVer(Long ver)ObjectIdentitywithWorkspace(String workspace)ObjectIdentitywithWsid(Long wsid)
-
-
-
Method Detail
-
getWorkspace
public String getWorkspace()
-
setWorkspace
public void setWorkspace(String workspace)
-
withWorkspace
public ObjectIdentity withWorkspace(String workspace)
-
getWsid
public Long getWsid()
-
setWsid
public void setWsid(Long wsid)
-
withWsid
public ObjectIdentity withWsid(Long wsid)
-
getName
public String getName()
-
setName
public void setName(String name)
-
withName
public ObjectIdentity withName(String name)
-
getObjid
public Long getObjid()
-
setObjid
public void setObjid(Long objid)
-
withObjid
public ObjectIdentity withObjid(Long objid)
-
getVer
public Long getVer()
-
setVer
public void setVer(Long ver)
-
withVer
public ObjectIdentity withVer(Long ver)
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
-
withRef
public ObjectIdentity withRef(String ref)
-
-