public class EntityInfo extends Object
Java class for entityInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entityInfo"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="classComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="constraints" type="{http://icatproject.org}constraint" maxOccurs="unbounded" minOccurs="0"/> <element name="fields" type="{http://icatproject.org}entityField" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
classComment |
protected List<Constraint> |
constraints |
protected List<EntityField> |
fields |
Constructor and Description |
---|
EntityInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getClassComment()
Gets the value of the classComment property.
|
List<Constraint> |
getConstraints()
Gets the value of the constraints property.
|
List<EntityField> |
getFields()
Gets the value of the fields property.
|
void |
setClassComment(String value)
Sets the value of the classComment property.
|
protected String classComment
protected List<Constraint> constraints
protected List<EntityField> fields
public String getClassComment()
String
public void setClassComment(String value)
value
- allowed object is
String
public List<Constraint> getConstraints()
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 constraints property.
For example, to add a new item, do as follows:
getConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
Constraint
public List<EntityField> getFields()
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 fields property.
For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
EntityField
Copyright © 2013 The ICAT Collaboration. All rights reserved.