|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.avutils.jmapper.xml.Attribute
public class Attribute
This Class is a java bean that represents the JMap annotation.
| Constructor Summary | |
|---|---|
Attribute()
Empty constructor |
|
Attribute(String name)
Giving only the field name, JMapper assumes that the name of the target field is equal. |
|
Attribute(String name,
String value)
This constructor allows you to define the configured field name and target field name. |
|
Attribute(String name,
String[] attributes)
This constructor allows you to define the configured field name and the attributes. |
|
Attribute(String name,
String[] attributes,
Class<?>[] classes)
This constructor allows you to define the configured field name, the attributes and the classes. |
|
Attribute(String name,
String value,
String[] attributes,
Class<?>[] classes)
This constructor allows you to define the configured field name, the target field name, the attributes and the classes. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String[] |
getAttributes()
|
Class<?>[] |
getClasses()
|
String |
getName()
|
String |
getValue()
|
int |
hashCode()
|
void |
setAttributes(String[] attributes)
|
void |
setClasses(Class<?>[] classes)
|
void |
setName(String name)
|
void |
setValue(String value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute(String name)
name -
public Attribute(String name,
String value)
name - configured field namevalue - target field name
public Attribute(String name,
String[] attributes,
Class<?>[] classes)
name - configured field nameattributes - target attributesclasses - target classes
public Attribute(String name,
String value,
String[] attributes,
Class<?>[] classes)
name - configured field namevalue - target field nameattributes - target attributesclasses - target classes
public Attribute(String name,
String[] attributes)
name - configured field nameattributes - target attributespublic Attribute()
| Method Detail |
|---|
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String[] getAttributes()
public void setAttributes(String[] attributes)
public Class<?>[] getClasses()
public void setClasses(Class<?>[] classes)
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||