public class EnabledTypesBean extends Object
Java class for enabledTypesBean complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="enabledTypesBean"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="href" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="type" type="{http://www.fatwire.com/schema/rest/1.0}enabledType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
href |
protected List<EnabledType> |
types |
Constructor and Description |
---|
EnabledTypesBean() |
Modifier and Type | Method and Description |
---|---|
String |
getHref()
Gets the value of the href property.
|
List<EnabledType> |
getTypes()
Gets the value of the types property.
|
void |
setHref(String value)
Sets the value of the href property.
|
protected String href
protected List<EnabledType> types
public String getHref()
String
public void setHref(String value)
value
- allowed object is String
public List<EnabledType> getTypes()
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 types property.
For example, to add a new item, do as follows:
getTypes().add(newItem);
Objects of the following type(s) are allowed in the list EnabledType