org.w3.xlink
Class Extended

java.lang.Object
  extended by org.w3.xlink.Extended
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Extended
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Intended for use as the type of user-declared elements to make them extended links. Note that the elements referenced in the content model are all abstract. The intention is that by simply declaring elements with these as their substitutionGroup, all the right things will happen.

Java class for extended complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="extended">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <group ref="{http://www.w3.org/1999/xlink}extendedModel" maxOccurs="unbounded" minOccurs="0"/>
       <attGroup ref="{http://www.w3.org/1999/xlink}extendedAttrs"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String role
           
protected  String title
           
protected  List<Object> titlesAndResourcesAndLocators
           
protected  TypeType type
           
 
Constructor Summary
Extended()
          Default no-arg constructor
Extended(List<Object> titlesAndResourcesAndLocators, TypeType type, String role, String title)
          Fully-initialising value constructor
 
Method Summary
 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)
           
 String getRole()
          Gets the value of the role property.
 String getTitle()
          Gets the value of the title property.
 List<Object> getTitlesAndResourcesAndLocators()
          Gets the value of the titlesAndResourcesAndLocators property.
 TypeType getType()
          Gets the value of the type property.
 void setRole(String value)
          Sets the value of the role property.
 void setTitle(String value)
          Sets the value of the title property.
 void setTitlesAndResourcesAndLocators(List<Object> value)
           
 void setType(TypeType value)
          Sets the value of the type property.
 String toString()
           
 Extended withRole(String value)
           
 Extended withTitle(String value)
           
 Extended withTitlesAndResourcesAndLocators(Collection<Object> values)
           
 Extended withTitlesAndResourcesAndLocators(List<Object> value)
           
 Extended withTitlesAndResourcesAndLocators(Object... values)
           
 Extended withType(TypeType value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

titlesAndResourcesAndLocators

protected List<Object> titlesAndResourcesAndLocators

type

protected TypeType type

role

protected String role

title

protected String title
Constructor Detail

Extended

public Extended()
Default no-arg constructor


Extended

public Extended(List<Object> titlesAndResourcesAndLocators,
                TypeType type,
                String role,
                String title)
Fully-initialising value constructor

Method Detail

getTitlesAndResourcesAndLocators

public List<Object> getTitlesAndResourcesAndLocators()
Gets the value of the titlesAndResourcesAndLocators property.

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 titlesAndResourcesAndLocators property.

For example, to add a new item, do as follows:

    getTitlesAndResourcesAndLocators().add(newItem);
 

Objects of the following type(s) are allowed in the list Title Resource Locator Arc


getType

public TypeType getType()
Gets the value of the type property.

Returns:
possible object is TypeType

setType

public void setType(TypeType value)
Sets the value of the type property.

Parameters:
value - allowed object is TypeType

getRole

public String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

setTitlesAndResourcesAndLocators

public void setTitlesAndResourcesAndLocators(List<Object> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withTitlesAndResourcesAndLocators

public Extended withTitlesAndResourcesAndLocators(Object... values)

withTitlesAndResourcesAndLocators

public Extended withTitlesAndResourcesAndLocators(Collection<Object> values)

withType

public Extended withType(TypeType value)

withRole

public Extended withRole(String value)

withTitle

public Extended withTitle(String value)

withTitlesAndResourcesAndLocators

public Extended withTitlesAndResourcesAndLocators(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.