public class DocumentIdentifier extends Object implements Serializable, Cloneable
Describes the name of a configuration document.
Constructor and Description |
---|
DocumentIdentifier() |
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the configuration document.
|
int |
hashCode() |
void |
setName(String name)
The name of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentIdentifier |
withName(String name)
The name of the configuration document.
|
public String getName()
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
public void setName(String name)
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public DocumentIdentifier withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public String toString()
toString
in class Object
Object.toString()
public DocumentIdentifier clone()
Copyright © 2015. All rights reserved.