public class Attribute extends Object
Attribute.Type
.Modifier and Type | Class and Description |
---|---|
static class |
Attribute.Type
Attribute type.
|
Constructor and Description |
---|
Attribute(long attributeId,
String attributeName,
Attribute.Type type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Long |
getAttributeId()
Attribute id that was provided in the constructor
|
String |
getAttributeName()
Attribute name that was provided in the constructor
|
Attribute |
getParentAttribute()
Parent attribute
|
Attribute.Type |
getType()
Attribute type that was provided in the constructor
|
int |
hashCode() |
void |
setParentAttribute(Attribute parent)
Parent attribute
|
String |
toString() |
public Attribute(long attributeId, String attributeName, Attribute.Type type)
attributeId
- attribute idattributeName
- attribute nametype
- attribute typepublic Long getAttributeId()
public String getAttributeName()
public Attribute.Type getType()
public Attribute getParentAttribute()
public void setParentAttribute(Attribute parent)