public class Association
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an association of an SSM document and an instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
name
The name of the SSM document.
|
Constructor and Description |
---|
Association() |
Modifier and Type | Method and Description |
---|---|
Association |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getName()
The name of the SSM document.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setName(java.lang.String name)
The name of the SSM document.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Association |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
Association |
withName(java.lang.String name)
The name of the SSM document.
|
private java.lang.String name
The name of the SSM document.
private java.lang.String instanceId
The ID of the instance.
public void setName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public java.lang.String getName()
The name of the SSM document.
public Association withName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public Association withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Association clone()
clone
in class java.lang.Object