|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wink.common.model.wadl.Param
public class Param
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">
<sequence>
<element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://wadl.dev.java.net/2009/02}option" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://wadl.dev.java.net/2009/02}link" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="style" type="{http://wadl.dev.java.net/2009/02}ParamStyle" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" default="xs:string" />
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="repeating" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
_default
|
protected java.util.List<java.lang.Object> |
any
|
protected java.util.List<Doc> |
doc
|
protected java.lang.String |
fixed
|
protected java.lang.String |
href
|
protected java.lang.String |
id
|
protected Link |
link
|
protected java.lang.String |
name
|
protected java.util.List<Option> |
option
|
protected java.lang.String |
path
|
protected java.lang.Boolean |
repeating
|
protected java.lang.Boolean |
required
|
protected ParamStyle |
style
|
protected javax.xml.namespace.QName |
type
|
| Constructor Summary | |
|---|---|
Param()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
java.lang.String |
getDefault()
Gets the value of the default property. |
java.util.List<Doc> |
getDoc()
Gets the value of the doc property. |
java.lang.String |
getFixed()
Gets the value of the fixed property. |
java.lang.String |
getHref()
Gets the value of the href property. |
java.lang.String |
getId()
Gets the value of the id property. |
Link |
getLink()
Gets the value of the link property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.util.List<Option> |
getOption()
Gets the value of the option property. |
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
java.lang.String |
getPath()
Gets the value of the path property. |
boolean |
getRepeating()
Gets the value of the repeating property. |
boolean |
getRequired()
Gets the value of the required property. |
ParamStyle |
getStyle()
Gets the value of the style property. |
javax.xml.namespace.QName |
getType()
Gets the value of the type property. |
void |
setDefault(java.lang.String value)
Sets the value of the default property. |
void |
setFixed(java.lang.String value)
Sets the value of the fixed property. |
void |
setHref(java.lang.String value)
Sets the value of the href property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setLink(Link value)
Sets the value of the link property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setPath(java.lang.String value)
Sets the value of the path property. |
void |
setRepeating(java.lang.Boolean value)
Sets the value of the repeating property. |
void |
setRequired(java.lang.Boolean value)
Sets the value of the required property. |
void |
setStyle(ParamStyle value)
Sets the value of the style property. |
void |
setType(javax.xml.namespace.QName 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<Doc> doc
protected java.util.List<Option> option
protected Link link
protected java.util.List<java.lang.Object> any
protected java.lang.String href
protected java.lang.String name
protected ParamStyle style
protected java.lang.String id
protected javax.xml.namespace.QName type
protected java.lang.String _default
protected java.lang.Boolean required
protected java.lang.Boolean repeating
protected java.lang.String fixed
protected java.lang.String path
| Constructor Detail |
|---|
public Param()
| Method Detail |
|---|
public java.util.List<Doc> getDoc()
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 doc property.
For example, to add a new item, do as follows:
getDoc().add(newItem);
Objects of the following type(s) are allowed in the list
Doc
public java.util.List<Option> getOption()
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 option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
Option
public Link getLink()
Linkpublic void setLink(Link value)
value - allowed object is
Linkpublic java.util.List<java.lang.Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
public java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic ParamStyle getStyle()
ParamStylepublic void setStyle(ParamStyle value)
value - allowed object is
ParamStylepublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic javax.xml.namespace.QName getType()
QNamepublic void setType(javax.xml.namespace.QName value)
value - allowed object is
QNamepublic java.lang.String getDefault()
Stringpublic void setDefault(java.lang.String value)
value - allowed object is
Stringpublic boolean getRequired()
Booleanpublic void setRequired(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean getRepeating()
Booleanpublic void setRepeating(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getFixed()
Stringpublic void setFixed(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPath()
Stringpublic void setPath(java.lang.String value)
value - allowed object is
Stringpublic java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||