public static class DXDataObject.Describe extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Describe()
Creates a
Describe object with all empty metadata. |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreationDate()
Returns the creation date of the object.
|
<T> T |
getDetails(Class<T> valueType)
Returns the details of the object.
|
String |
getFolder()
Returns the folder that contains the object.
|
Date |
getModificationDate()
Returns the last modification date of the object.
|
String |
getName()
Returns the name of the object.
|
DXContainer |
getProject()
Returns the project or container from which user-provided metadata was retrieved.
|
Map<String,String> |
getProperties()
Returns the properties associated with the object.
|
DataObjectState |
getState()
Returns the state of the object.
|
List<String> |
getTags()
Returns a list of tags associated with the object.
|
List<String> |
getTypes()
Returns a list of types associated with the object.
|
boolean |
isVisible()
Returns whether the object is visible.
|
public Date getCreationDate()
public <T> T getDetails(Class<T> valueType)
DXDataObject.describe(DescribeOptions) (or
DXSearch.FindDataObjectsRequestBuilder.includeDescribeOutput(DXDataObject.DescribeOptions)
) was called with DXDataObject.DescribeOptions.withDetails() set.valueType - class to deserialize asIllegalStateException - if details were not retrieved with the describe callpublic String getFolder()
"/")public Date getModificationDate()
public String getName()
public DXContainer getProject()
DXProject or DXContainerpublic Map<String,String> getProperties()
DXDataObject.describe(DescribeOptions) (or
DXSearch.FindDataObjectsRequestBuilder.includeDescribeOutput(DXDataObject.DescribeOptions)
) was called with DXDataObject.DescribeOptions.withProperties() set.IllegalStateException - if properties were not retrieved with the describe callpublic DataObjectState getState()
DXObjectState indicating the current statepublic List<String> getTags()
public List<String> getTypes()
public boolean isVisible()
Copyright © 2023. All Rights Reserved.