|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.schema.Attribute
public class Attribute
Models the attribute element in an XML schema.
| Constructor Summary | |
|---|---|
Attribute()
|
|
Attribute(AttributeDescriptor attributeDescriptor)
|
|
Attribute(String name,
String type)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute()
public Attribute(String name,
String type)
public Attribute(AttributeDescriptor attributeDescriptor)
| Method Detail |
|---|
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 typepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||