- All Implemented Interfaces:
Serializable
A model class that has only XMl attributes fields and exactly
one field with
Content
type.
- Version:
- $Revision$ $Date$
- See Also:
-
-
Field Summary
Fields
private int
The field of the class with Content
type.
-
Constructor Summary
Constructors
-
Method Summary
int
Get the field of the class with Content
type.
void
void
void
Set the field of the class with Content
type.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
content
The field of the class with Content
type.
-
-
attr2
A 2nd XML attribute.
-
-
Method Details
-
getAttr
Get an XML attribute.
- Returns:
- String
-
getAttr2
Get a 2nd XML attribute.
- Returns:
- int
-
getContent
Get the field of the class with Content
type.
- Returns:
- String
-
setAttr
Set an XML attribute.
- Parameters:
attr
- a attr object.
-
setAttr2
Set a 2nd XML attribute.
- Parameters:
attr2
- a attr2 object.
-
setContent
Set the field of the class with Content
type.
- Parameters:
content
- a content object.