public class Attribute extends Object
Constructor and Description |
---|
Attribute() |
Attribute(AttributeDescriptor attributeDescriptor) |
Attribute(String name,
String type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the attribute name
|
String |
getType()
Gets the attribute type
|
int |
hashCode() |
void |
setName(String string)
Sets the attribute name
|
void |
setType(String string)
Sets the attribute type
|
String |
toString() |
public Attribute()
public Attribute(AttributeDescriptor attributeDescriptor)
public String getName()
public void setName(String string)
string
- the name for this attribute, not nullpublic String getType()
public void setType(String string)
string
- the attribute typeCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.