public class Simple extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for simple complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="simple">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.w3.org/1999/xlink}simpleModel"/>
<attGroup ref="{http://www.w3.org/1999/xlink}simpleAttrs"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ActuateType |
actuate |
protected String |
arcrole |
protected List<Object> |
content |
protected String |
href |
protected String |
role |
protected ShowType |
show |
protected String |
title |
protected TypeType |
type |
| Constructor and Description |
|---|
Simple()
Default no-arg constructor
|
Simple(List<Object> content,
TypeType type,
String href,
String role,
String arcrole,
String title,
ShowType show,
ActuateType actuate)
Fully-initialising value constructor
|
| 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) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
ActuateType |
getActuate()
Gets the value of the actuate property.
|
String |
getArcrole()
Gets the value of the arcrole property.
|
List<Object> |
getContent()
Intended for use as the type of user-declared elements to make them
simple links.
|
String |
getHref()
Gets the value of the href property.
|
String |
getRole()
Gets the value of the role property.
|
ShowType |
getShow()
Gets the value of the show property.
|
String |
getTitle()
Gets the value of the title property.
|
TypeType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setActuate(ActuateType value)
Sets the value of the actuate property.
|
void |
setArcrole(String value)
Sets the value of the arcrole property.
|
void |
setContent(List<Object> value) |
void |
setHref(String value)
Sets the value of the href property.
|
void |
setRole(String value)
Sets the value of the role property.
|
void |
setShow(ShowType value)
Sets the value of the show property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setType(TypeType value)
Sets the value of the type property.
|
String |
toString() |
Simple |
withActuate(ActuateType value) |
Simple |
withArcrole(String value) |
Simple |
withContent(Collection<Object> values) |
Simple |
withContent(List<Object> value) |
Simple |
withContent(Object... values) |
Simple |
withHref(String value) |
Simple |
withRole(String value) |
Simple |
withShow(ShowType value) |
Simple |
withTitle(String value) |
Simple |
withType(TypeType value) |
protected TypeType type
protected String href
protected String role
protected String arcrole
protected String title
protected ShowType show
protected ActuateType actuate
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
Element
Object
String
public TypeType getType()
TypeTypepublic void setType(TypeType value)
value - allowed object is
TypeTypepublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is
Stringpublic String getRole()
Stringpublic void setRole(String value)
value - allowed object is
Stringpublic String getArcrole()
Stringpublic void setArcrole(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic ShowType getShow()
ShowTypepublic void setShow(ShowType value)
value - allowed object is
ShowTypepublic ActuateType getActuate()
ActuateTypepublic void setActuate(ActuateType value)
value - allowed object is
ActuateTypepublic 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 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Simple withContent(Collection<Object> values)
public Simple withActuate(ActuateType value)
Copyright © 2017 Digipost. All Rights Reserved.