public abstract class Locator
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 locatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="locatorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.w3.org/1999/xlink}locatorModel"/>
<attGroup ref="{http://www.w3.org/1999/xlink}locatorAttrs"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
href |
protected java.lang.String |
label |
protected java.lang.String |
role |
protected java.lang.String |
title |
protected java.util.List<Title> |
titles |
protected TypeType |
type |
| Constructor and Description |
|---|
Locator()
Default no-arg constructor
|
Locator(java.util.List<Title> titles,
TypeType type,
java.lang.String href,
java.lang.String role,
java.lang.String title,
java.lang.String label)
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) |
java.lang.String |
getHref()
Gets the value of the href property.
|
java.lang.String |
getLabel()
label is not required, but locators have no particular
XLink function if they are not labeled.
|
java.lang.String |
getRole()
Gets the value of the role property.
|
java.lang.String |
getTitle()
Gets the value of the title property.
|
java.util.List<Title> |
getTitles()
Gets the value of the titles 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 |
setHref(java.lang.String value)
Sets the value of the href property.
|
void |
setLabel(java.lang.String value)
Sets the value of the label property.
|
void |
setRole(java.lang.String value)
Sets the value of the role property.
|
void |
setTitle(java.lang.String value)
Sets the value of the title property.
|
void |
setTitles(java.util.List<Title> value) |
void |
setType(TypeType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Locator |
withHref(java.lang.String value) |
Locator |
withLabel(java.lang.String value) |
Locator |
withRole(java.lang.String value) |
Locator |
withTitle(java.lang.String value) |
Locator |
withTitles(java.util.Collection<Title> values) |
Locator |
withTitles(java.util.List<Title> value) |
Locator |
withTitles(Title... values) |
Locator |
withType(TypeType value) |
protected java.util.List<Title> titles
protected TypeType type
protected java.lang.String href
protected java.lang.String role
protected java.lang.String title
protected java.lang.String label
public java.util.List<Title> getTitles()
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 titles property.
For example, to add a new item, do as follows:
getTitles().add(newItem);
Objects of the following type(s) are allowed in the list
Title
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 getTitle()
Stringpublic void setTitle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLabel()
Stringpublic void setLabel(java.lang.String value)
value - allowed object is
Stringpublic void setTitles(java.util.List<Title> 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 Locator withHref(java.lang.String value)
public Locator withRole(java.lang.String value)
public Locator withTitle(java.lang.String value)
public Locator withLabel(java.lang.String value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.