public class DocumentDescription extends Object implements Serializable, Cloneable
Describes a configuration document.
Constructor and Description |
---|
DocumentDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date when the configuration document was created.
|
String |
getName()
The name of the configuration document.
|
String |
getSha1()
The SHA1 hash of the document, which you can use for verification
purposes.
|
String |
getStatus()
The status of the configuration document.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date when the configuration document was created.
|
void |
setName(String name)
The name of the configuration document.
|
void |
setSha1(String sha1)
The SHA1 hash of the document, which you can use for verification
purposes.
|
void |
setStatus(DocumentStatus status)
The status of the configuration document.
|
void |
setStatus(String status)
The status of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentDescription |
withCreatedDate(Date createdDate)
The date when the configuration document was created.
|
DocumentDescription |
withName(String name)
The name of the configuration document.
|
DocumentDescription |
withSha1(String sha1)
The SHA1 hash of the document, which you can use for verification
purposes.
|
DocumentDescription |
withStatus(DocumentStatus status)
The status of the configuration document.
|
DocumentDescription |
withStatus(String status)
The status of the configuration document.
|
public void setSha1(String sha1)
The SHA1 hash of the document, which you can use for verification purposes.
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public String getSha1()
The SHA1 hash of the document, which you can use for verification purposes.
public DocumentDescription withSha1(String sha1)
The SHA1 hash of the document, which you can use for verification purposes.
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public void setName(String name)
The name of the configuration document.
name
- The name of the configuration document.public String getName()
The name of the configuration document.
public DocumentDescription withName(String name)
The name of the configuration document.
name
- The name of the configuration document.public void setCreatedDate(Date createdDate)
The date when the configuration document was created.
createdDate
- The date when the configuration document was created.public Date getCreatedDate()
The date when the configuration document was created.
public DocumentDescription withCreatedDate(Date createdDate)
The date when the configuration document was created.
createdDate
- The date when the configuration document was created.public void setStatus(String status)
The status of the configuration document.
status
- The status of the configuration document.DocumentStatus
public String getStatus()
The status of the configuration document.
DocumentStatus
public DocumentDescription withStatus(String status)
The status of the configuration document.
status
- The status of the configuration document.DocumentStatus
public void setStatus(DocumentStatus status)
The status of the configuration document.
status
- The status of the configuration document.DocumentStatus
public DocumentDescription withStatus(DocumentStatus status)
The status of the configuration document.
status
- The status of the configuration document.DocumentStatus
public String toString()
toString
in class Object
Object.toString()
public DocumentDescription clone()
Copyright © 2015. All rights reserved.