|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simject.jaxb.Resource
public class Resource
Java class for resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="property" type="{http://simject.org/xml/ns/resources}property" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected java.util.List<Property> |
property
|
protected java.lang.String |
target
|
protected java.lang.String |
type
|
| Constructor Summary | |
|---|---|
Resource()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Gets the value of the name property. |
java.util.List<Property> |
getProperty()
Gets the value of the property property. |
java.lang.String |
getTarget()
Gets the value of the target property. |
java.lang.String |
getType()
Gets the value of the type property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setTarget(java.lang.String value)
Sets the value of the target property. |
void |
setType(java.lang.String value)
Sets the value of the type property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Property> property
protected java.lang.String name
protected java.lang.String target
protected java.lang.String type
| Constructor Detail |
|---|
public Resource()
| Method Detail |
|---|
public java.util.List<Property> getProperty()
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 property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
Property
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTarget()
Stringpublic void setTarget(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||