public class AttributeObject
extends java.lang.Object
Constructor and Description |
---|
AttributeObject()
Creates a new AttributeObject.
|
AttributeObject(AttributeObject orig)
Create a new AttributeObject which is a copy of another one.
|
AttributeObject(int attribute)
Creates a new AttributeObject with a given attribute.
|
Modifier and Type | Method and Description |
---|---|
int |
getAttribute()
Returns the attribute of this AttributeObject.
|
void |
setAttribute(int attribute)
Sets the attribute of this AttributeObject.
|
public AttributeObject()
public AttributeObject(int attribute)
attribute
- the attribute of the new AttributeObject.public AttributeObject(AttributeObject orig)
orig
- the AttributeObject of which the new one is a copy