Class DocumentType.Attributes.Attribute
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.DocumentType.Attributes.Attribute
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DocumentType.Attributes
public static class DocumentType.Attributes.Attribute 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="attributeReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectReference
attributeReference
protected boolean
required
-
Constructor Summary
Constructors Constructor Description Attribute()
Default no-arg constructorAttribute(ObjectReference attributeReference, boolean required)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectReference
getAttributeReference()
Gets the value of the attributeReference property.boolean
isRequired()
Gets the value of the required property.void
setAttributeReference(ObjectReference value)
Sets the value of the attributeReference property.void
setRequired(boolean value)
Sets the value of the required property.DocumentType.Attributes.Attribute
withAttributeReference(ObjectReference value)
DocumentType.Attributes.Attribute
withRequired(boolean value)
-
-
-
Field Detail
-
attributeReference
protected ObjectReference attributeReference
-
required
protected boolean required
-
-
Constructor Detail
-
Attribute
public Attribute()
Default no-arg constructor
-
Attribute
public Attribute(ObjectReference attributeReference, boolean required)
Fully-initialising value constructor
-
-
Method Detail
-
getAttributeReference
public ObjectReference getAttributeReference()
Gets the value of the attributeReference property.- Returns:
- possible object is
ObjectReference
-
setAttributeReference
public void setAttributeReference(ObjectReference value)
Sets the value of the attributeReference property.- Parameters:
value
- allowed object isObjectReference
-
isRequired
public boolean isRequired()
Gets the value of the required property.
-
setRequired
public void setRequired(boolean value)
Sets the value of the required property.
-
withAttributeReference
public DocumentType.Attributes.Attribute withAttributeReference(ObjectReference value)
-
withRequired
public DocumentType.Attributes.Attribute withRequired(boolean value)
-
-