Class DocumentType.Attributes
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.DocumentType.Attributes
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DocumentType
public static class DocumentType.Attributes extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="attribute" type="{http://www.iknowbase.com/ws/iknowbase-1}attributeType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AttributeType>
attribute
-
Constructor Summary
Constructors Constructor Description Attributes()
Default no-arg constructorAttributes(List<AttributeType> attribute)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeType>
getAttribute()
Gets the value of the attribute property.DocumentType.Attributes
withAttribute(AttributeType... values)
DocumentType.Attributes
withAttribute(Collection<AttributeType> values)
-
-
-
Field Detail
-
attribute
protected List<AttributeType> attribute
-
-
Constructor Detail
-
Attributes
public Attributes()
Default no-arg constructor
-
Attributes
public Attributes(List<AttributeType> attribute)
Fully-initialising value constructor
-
-
Method Detail
-
getAttribute
public List<AttributeType> getAttribute()
Gets the value of the attribute 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 attribute property.For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeType
-
withAttribute
public DocumentType.Attributes withAttribute(AttributeType... values)
-
withAttribute
public DocumentType.Attributes withAttribute(Collection<AttributeType> values)
-
-