public class DocumentIdentifier extends Object implements Serializable, Cloneable
Describes the name of an SSM document.
Constructor and Description |
---|
DocumentIdentifier() |
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the SSM document.
|
List<String> |
getPlatformTypes()
The operating system platform.
|
int |
hashCode() |
void |
setName(String name)
The name of the SSM document.
|
void |
setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentIdentifier |
withName(String name)
The name of the SSM document.
|
DocumentIdentifier |
withPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
DocumentIdentifier |
withPlatformTypes(PlatformType... platformTypes)
The operating system platform.
|
DocumentIdentifier |
withPlatformTypes(String... platformTypes)
The operating system platform.
|
public void setName(String name)
The name of the SSM document.
name
- The name of the SSM document.public String getName()
The name of the SSM document.
public DocumentIdentifier withName(String name)
The name of the SSM document.
name
- The name of the SSM document.public List<String> getPlatformTypes()
PlatformType
public void setPlatformTypes(Collection<String> platformTypes)
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(String... platformTypes)
NOTE: This method appends the values to the existing list (if
any). Use setPlatformTypes(java.util.Collection)
or
withPlatformTypes(java.util.Collection)
if you want to override
the existing values.
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(Collection<String> platformTypes)
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(PlatformType... platformTypes)
platformTypes
- The operating system platform.PlatformType
public String toString()
toString
in class Object
Object.toString()
public DocumentIdentifier clone()
Copyright © 2015. All rights reserved.