public class Simple
extends java.lang.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 java.lang.String |
arcrole |
protected java.util.List<java.lang.Object> |
content |
protected java.lang.String |
href |
protected java.lang.String |
role |
protected ShowType |
show |
protected java.lang.String |
title |
protected TypeType |
type |
| Constructor and Description |
|---|
Simple()
Default no-arg constructor
|
Simple(java.util.List<java.lang.Object> content,
TypeType type,
java.lang.String href,
java.lang.String role,
java.lang.String arcrole,
java.lang.String title,
ShowType show,
ActuateType actuate)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
ActuateType |
getActuate()
Gets the value of the actuate property.
|
java.lang.String |
getArcrole()
Gets the value of the arcrole property.
|
java.util.List<java.lang.Object> |
getContent()
Intended for use as the type of user-declared elements to make them
simple links.
|
java.lang.String |
getHref()
Gets the value of the href property.
|
java.lang.String |
getRole()
Gets the value of the role property.
|
ShowType |
getShow()
Gets the value of the show property.
|
java.lang.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(java.lang.String value)
Sets the value of the arcrole property.
|
void |
setContent(java.util.List<java.lang.Object> value) |
void |
setHref(java.lang.String value)
Sets the value of the href property.
|
void |
setRole(java.lang.String value)
Sets the value of the role property.
|
void |
setShow(ShowType value)
Sets the value of the show property.
|
void |
setTitle(java.lang.String value)
Sets the value of the title property.
|
void |
setType(TypeType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Simple |
withActuate(ActuateType value) |
Simple |
withArcrole(java.lang.String value) |
Simple |
withContent(java.util.Collection<java.lang.Object> values) |
Simple |
withContent(java.util.List<java.lang.Object> value) |
Simple |
withContent(java.lang.Object... values) |
Simple |
withHref(java.lang.String value) |
Simple |
withRole(java.lang.String value) |
Simple |
withShow(ShowType value) |
Simple |
withTitle(java.lang.String value) |
Simple |
withType(TypeType value) |
protected java.util.List<java.lang.Object> content
protected TypeType type
protected java.lang.String href
protected java.lang.String role
protected java.lang.String arcrole
protected java.lang.String title
protected ShowType show
protected ActuateType actuate
public Simple()
public Simple(java.util.List<java.lang.Object> content,
TypeType type,
java.lang.String href,
java.lang.String role,
java.lang.String arcrole,
java.lang.String title,
ShowType show,
ActuateType actuate)
public java.util.List<java.lang.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 java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getRole()
Stringpublic void setRole(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getArcrole()
Stringpublic void setArcrole(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTitle()
Stringpublic void setTitle(java.lang.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 void setContent(java.util.List<java.lang.Object> value)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.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,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic 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 int hashCode()
hashCode in class java.lang.Objectpublic Simple withContent(java.lang.Object... values)
public Simple withContent(java.util.Collection<java.lang.Object> values)
public Simple withHref(java.lang.String value)
public Simple withRole(java.lang.String value)
public Simple withArcrole(java.lang.String value)
public Simple withTitle(java.lang.String value)
public Simple withActuate(ActuateType value)
public Simple withContent(java.util.List<java.lang.Object> value)
Copyright © 2016 Digipost. All Rights Reserved.