public class Attr
extends java.lang.Object
implements java.io.Serializable
Attr
object.
Constructor and Description |
---|
Attr()
Initializes a new instance of the
Attr class. |
Attr(java.lang.String name,
SplusObject value)
Sets all the properties of this object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Retrieves the name of the attribute.
|
SplusObject |
getValue()
Retrieves the value of the attribute.
|
void |
setName(java.lang.String name)
Sets the name of the attribute.
|
void |
setValue(SplusObject value)
Sets the value of the attribute.
|
public Attr(java.lang.String name, SplusObject value)
name
- The name of the object.value
- The value of the object.public Attr()
Attr
class.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the attribute.public SplusObject getValue()
SplusObject
value.public void setValue(SplusObject value)
value
- The SplusObject
value.