public static class DocumentType.Attributes.Attribute
extends java.lang.Object
implements java.io.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>
Modifier and Type | Field and Description |
---|---|
protected ObjectReference |
attributeReference |
protected boolean |
required |
Constructor and Description |
---|
Attribute()
Default no-arg constructor
|
Attribute(ObjectReference attributeReference,
boolean required)
Fully-initialising value constructor
|
Modifier and Type | Method and 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) |
protected ObjectReference attributeReference
protected boolean required
public Attribute()
public Attribute(ObjectReference attributeReference, boolean required)
public ObjectReference getAttributeReference()
ObjectReference
public void setAttributeReference(ObjectReference value)
value
- allowed object is
ObjectReference
public boolean isRequired()
public void setRequired(boolean value)
public DocumentType.Attributes.Attribute withAttributeReference(ObjectReference value)
public DocumentType.Attributes.Attribute withRequired(boolean value)
Copyright © Acando AS. All Rights Reserved.