public class ContextObject extends ContextBean
Modifier and Type | Class and Description |
---|---|
static class |
ContextObject.States |
static class |
ContextObject.Types
Contains constants for Context Object types.
|
CONTEXT_GET
Constructor and Description |
---|
ContextObject(String type) |
Modifier and Type | Method and Description |
---|---|
ContextObject |
copy() |
String |
getBeanUri() |
UUID |
getCustomerId()
Returns ID of the customer associated with the object.
|
String |
getMediaType()
Gets the mediaType field
|
UUID |
getParentId() |
String |
getState()
Gets the state field
|
Set<Tag> |
getTags() |
String |
getType() |
void |
setCustomerId(UUID customerId)
Sets the ID of the customer associated with the object.
|
void |
setMediaType(String mediaType)
Sets the mediaType field
|
void |
setParentId(UUID parentId) |
void |
setState(String podState)
Sets the state field
|
void |
setTags(Set<Tag> tags) |
convertAndSetId, getContributors, getCreated, getDataElements, getFieldsets, getLastContributor, getNewContributor, getWorkgroups, setContributors, setCreated, setDataElements, setFieldsets, setNewContributor, setWorkgroups
compareTo, getId, getKey, getLastUpdated, getRefURL, setId, setKey, setLastUpdated, setRefURL
public ContextObject(String type)
public UUID getCustomerId()
public void setCustomerId(UUID customerId)
customerId
- The customer ID.public UUID getParentId()
public void setParentId(UUID parentId)
public String getType()
public String getState()
public void setState(String podState)
podState
- is the state to setpublic String getMediaType()
public void setMediaType(String mediaType)
mediaType
- is the mediaType to setpublic String getBeanUri()
getBeanUri
in class BaseDbBean<UUID>
public ContextObject copy()
copy
in class ContextBean
Copyright © 2018. All rights reserved.