public class WadlParam extends Object
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/> </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" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
_default |
protected List<Object> |
any |
protected List<WadlDoc> |
doc |
protected String |
fixed |
protected String |
href |
protected String |
id |
protected WadlLink |
link |
protected String |
name |
protected List<WadlOption> |
option |
protected String |
path |
protected Boolean |
repeating |
protected Boolean |
required |
protected WadlParamStyle |
style |
protected QName |
type |
Constructor and Description |
---|
WadlParam() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getDefault()
Gets the value of the default property.
|
List<WadlDoc> |
getDoc()
Gets the value of the doc property.
|
String |
getFixed()
Gets the value of the fixed property.
|
String |
getHref()
Gets the value of the href property.
|
String |
getId()
Gets the value of the id property.
|
WadlLink |
getLink()
Gets the value of the link property.
|
String |
getName()
Gets the value of the name property.
|
List<WadlOption> |
getOption()
Gets the value of the option property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getPath()
Gets the value of the path property.
|
WadlParamStyle |
getStyle()
Gets the value of the style property.
|
QName |
getType()
Gets the value of the type property.
|
boolean |
isRepeating()
Gets the value of the repeating property.
|
boolean |
isRequired()
Gets the value of the required property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setFixed(String value)
Sets the value of the fixed property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLink(WadlLink value)
Sets the value of the link property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setRepeating(Boolean value)
Sets the value of the repeating property.
|
void |
setRequired(Boolean value)
Sets the value of the required property.
|
void |
setStyle(WadlParamStyle value)
Sets the value of the style property.
|
void |
setType(QName value)
Sets the value of the type property.
|
protected List<WadlOption> option
protected WadlLink link
protected String href
protected String name
protected WadlParamStyle style
protected String id
protected QName type
protected String _default
protected Boolean required
protected Boolean repeating
protected String fixed
protected String path
public List<WadlDoc> 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
WadlDoc
public List<WadlOption> 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
WadlOption
public WadlLink getLink()
WadlLink
public void setLink(WadlLink value)
value
- allowed object is
WadlLink
public List<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
Element
Object
public String getHref()
String
public void setHref(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public WadlParamStyle getStyle()
WadlParamStyle
public void setStyle(WadlParamStyle value)
value
- allowed object is
WadlParamStyle
public void setId(String value)
value
- allowed object is
String
public QName getType()
QName
public void setType(QName value)
value
- allowed object is
QName
public String getDefault()
String
public void setDefault(String value)
value
- allowed object is
String
public boolean isRequired()
Boolean
public void setRequired(Boolean value)
value
- allowed object is
Boolean
public boolean isRepeating()
Boolean
public void setRepeating(Boolean value)
value
- allowed object is
Boolean
public String getFixed()
String
public void setFixed(String value)
value
- allowed object is
String
public String getPath()
String
public void setPath(String value)
value
- allowed object is
String
public Map<QName,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.
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a