public class ResourceType extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para resourceType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="resourceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.w3.org/1999/xlink}resourceModel"/>
<attGroup ref="{http://www.w3.org/1999/xlink}resourceAttrs"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
content |
protected String |
label |
protected String |
role |
protected String |
title |
protected TypeType |
type |
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getLabel()
Obtiene el valor de la propiedad label.
|
String |
getRole()
Obtiene el valor de la propiedad role.
|
String |
getTitle()
Obtiene el valor de la propiedad title.
|
TypeType |
getType()
Obtiene el valor de la propiedad type.
|
boolean |
isSetContent() |
boolean |
isSetLabel() |
boolean |
isSetRole() |
boolean |
isSetTitle() |
boolean |
isSetType() |
void |
setLabel(String value)
Define el valor de la propiedad label.
|
void |
setRole(String value)
Define el valor de la propiedad role.
|
void |
setTitle(String value)
Define el valor de la propiedad title.
|
void |
setType(TypeType value)
Define el valor de la propiedad type.
|
String |
toString() |
void |
unsetContent() |
ResourceType |
withContent(Collection<Object> values) |
ResourceType |
withContent(Object... values) |
ResourceType |
withLabel(String value) |
ResourceType |
withRole(String value) |
ResourceType |
withTitle(String value) |
ResourceType |
withType(TypeType value) |
protected TypeType type
protected String role
protected String title
protected String label
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 boolean isSetContent()
public void unsetContent()
public TypeType getType()
TypeTypepublic void setType(TypeType value)
value - allowed object is
TypeTypepublic boolean isSetType()
public String getRole()
Stringpublic void setRole(String value)
value - allowed object is
Stringpublic boolean isSetRole()
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic boolean isSetTitle()
public String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic boolean isSetLabel()
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic ResourceType withContent(Object... values)
public ResourceType withContent(Collection<Object> values)
public ResourceType withType(TypeType value)
public ResourceType withRole(String value)
public ResourceType withTitle(String value)
public ResourceType withLabel(String value)
Copyright © 2014. All Rights Reserved.