public class Attribute
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The attributes applicable to a container instance when it is registered.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the container instance attribute.
|
private java.lang.String |
value
The value of the container instance attribute (at this time, the value
here is
Null , but this could change in future revisions for
expandability). |
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
Attribute |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the container instance attribute.
|
java.lang.String |
getValue()
The value of the container instance attribute (at this time, the value
here is
Null , but this could change in future revisions for
expandability). |
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the container instance attribute.
|
void |
setValue(java.lang.String value)
The value of the container instance attribute (at this time, the value
here is
Null , but this could change in future revisions for
expandability). |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Attribute |
withName(java.lang.String name)
The name of the container instance attribute.
|
Attribute |
withValue(java.lang.String value)
The value of the container instance attribute (at this time, the value
here is
Null , but this could change in future revisions for
expandability). |
private java.lang.String name
The name of the container instance attribute.
private java.lang.String value
The value of the container instance attribute (at this time, the value
here is Null
, but this could change in future revisions for
expandability).
public void setName(java.lang.String name)
The name of the container instance attribute.
name
- The name of the container instance attribute.public java.lang.String getName()
The name of the container instance attribute.
public Attribute withName(java.lang.String name)
The name of the container instance attribute.
name
- The name of the container instance attribute.public void setValue(java.lang.String value)
The value of the container instance attribute (at this time, the value
here is Null
, but this could change in future revisions for
expandability).
value
- The value of the container instance attribute (at this time, the
value here is Null
, but this could change in future
revisions for expandability).public java.lang.String getValue()
The value of the container instance attribute (at this time, the value
here is Null
, but this could change in future revisions for
expandability).
Null
, but this could change in future
revisions for expandability).public Attribute withValue(java.lang.String value)
The value of the container instance attribute (at this time, the value
here is Null
, but this could change in future revisions for
expandability).
value
- The value of the container instance attribute (at this time, the
value here is Null
, but this could change in future
revisions for expandability).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 Attribute clone()
clone
in class java.lang.Object