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">
<choice maxOccurs="unbounded" minOccurs="0">
<any processContents='lax'/>
</choice>
<attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/>
<attGroup ref="{http://www.schematron-quickfix.com/validator/process}parameterAttributes"/>
<attribute name="required" default="no">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="yes"/>
<enumeration value="no"/>
</restriction>
</simpleType>
</attribute>
<attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
_abstract |
protected String |
_default |
protected List<Object> |
content |
protected String |
name |
protected String |
required |
protected String |
type |
| Constructor and Description |
|---|
Param() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getDefault()
Gets the value of the default property.
|
String |
getName()
Gets the value of the name property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getRequired()
Gets the value of the required property.
|
String |
getType()
Gets the value of the type property.
|
boolean |
isAbstract()
Gets the value of the abstract property.
|
void |
setAbstract(Boolean value)
Sets the value of the abstract property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRequired(String value)
Sets the value of the required property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String required
protected Boolean _abstract
protected String name
protected String _default
protected String type
public List<Object> 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
Object
Element
public String getRequired()
Stringpublic void setRequired(String value)
value - allowed object is
Stringpublic boolean isAbstract()
Booleanpublic void setAbstract(Boolean value)
value - allowed object is
Booleanpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic 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.
Copyright © 2023 NorStella. All rights reserved.