Class Param
- java.lang.Object
-
- org.jboss.resteasy.wadl.jaxb.Param
-
public class Param 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 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
Fields Modifier and Type Field Description protected String_defaultprotected List<Object>anyprotected List<Doc>docprotected Stringfixedprotected Stringhrefprotected Stringidprotected Linklinkprotected Stringnameprotected List<Option>optionprotected Stringpathprotected Booleanrepeatingprotected Booleanrequiredprotected ParamStylestyleprotected QNametype
-
Constructor Summary
Constructors Constructor Description Param()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAny()Gets the value of the any property.StringgetDefault()Gets the value of the default property.List<Doc>getDoc()Gets the value of the doc property.StringgetFixed()Gets the value of the fixed property.StringgetHref()Gets the value of the href property.StringgetId()Gets the value of the id property.LinkgetLink()Gets the value of the link property.StringgetName()Gets the value of the name property.List<Option>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.StringgetPath()Gets the value of the path property.ParamStylegetStyle()Gets the value of the style property.QNamegetType()Gets the value of the type property.booleanisRepeating()Gets the value of the repeating property.booleanisRequired()Gets the value of the required property.voidsetDefault(String value)Sets the value of the default property.voidsetFixed(String value)Sets the value of the fixed property.voidsetHref(String value)Sets the value of the href property.voidsetId(String value)Sets the value of the id property.voidsetLink(Link value)Sets the value of the link property.voidsetName(String value)Sets the value of the name property.voidsetPath(String value)Sets the value of the path property.voidsetRepeating(Boolean value)Sets the value of the repeating property.voidsetRequired(Boolean value)Sets the value of the required property.voidsetStyle(ParamStyle value)Sets the value of the style property.voidsetType(QName value)Sets the value of the type property.
-
-
-
Field Detail
-
link
protected Link link
-
href
protected String href
-
name
protected String name
-
style
protected ParamStyle style
-
id
protected String id
-
type
protected QName type
-
_default
protected String _default
-
required
protected Boolean required
-
repeating
protected Boolean repeating
-
fixed
protected String fixed
-
path
protected String path
-
-
Method Detail
-
getDoc
public List<Doc> getDoc()
Gets the value of the doc property.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
setmethod 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
-
getOption
public List<Option> getOption()
Gets the value of the option property.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
setmethod 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
-
setLink
public void setLink(Link value)
Sets the value of the link property.- Parameters:
value- allowed object isLink
-
getAny
public List<Object> getAny()
Gets the value of the any property.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
setmethod 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
ElementObject
-
getHref
public String getHref()
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
public void setHref(String value)
Sets the value of the href property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStyle
public ParamStyle getStyle()
Gets the value of the style property.- Returns:
- possible object is
ParamStyle
-
setStyle
public void setStyle(ParamStyle value)
Sets the value of the style property.- Parameters:
value- allowed object isParamStyle
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getType
public QName getType()
Gets the value of the type property.- Returns:
- possible object is
QName
-
setType
public void setType(QName value)
Sets the value of the type property.- Parameters:
value- allowed object isQName
-
getDefault
public String getDefault()
Gets the value of the default property.- Returns:
- possible object is
String
-
setDefault
public void setDefault(String value)
Sets the value of the default property.- Parameters:
value- allowed object isString
-
isRequired
public boolean isRequired()
Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
public void setRequired(Boolean value)
Sets the value of the required property.- Parameters:
value- allowed object isBoolean
-
isRepeating
public boolean isRepeating()
Gets the value of the repeating property.- Returns:
- possible object is
Boolean
-
setRepeating
public void setRepeating(Boolean value)
Sets the value of the repeating property.- Parameters:
value- allowed object isBoolean
-
getFixed
public String getFixed()
Gets the value of the fixed property.- Returns:
- possible object is
String
-
setFixed
public void setFixed(String value)
Sets the value of the fixed property.- Parameters:
value- allowed object isString
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value- allowed object isString
-
getOtherAttributes
public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.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.
- Returns:
- always non-null
-
-