|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Prop
public class Prop
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
</choice>
<attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<String> |
content
|
protected String |
key
|
| Constructor Summary | |
|---|---|
Prop()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Prop instance. |
|
Prop(Prop o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Prop instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Prop |
clone()
Creates and returns a copy of this object. |
protected static void |
copyContent(List<String> source,
List<String> target)
Copies all values of property Content. |
List<String> |
getContent()
Gets the value of the content property. |
String |
getKey()
Gets the value of the key property. |
void |
setKey(String value)
Sets the value of the key property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<String> content
protected String key
| Constructor Detail |
|---|
public Prop()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Prop instance.
public Prop(Prop o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Prop instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<String> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
String
protected static void copyContent(List<String> source,
List<String> target)
Content.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public Prop clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||