Class DataQuery
- java.lang.Object
-
- org.openforis.idm.metamodel.SurveyObject
-
- org.openforis.idm.metamodel.PersistedSurveyObject<Integer>
-
- org.openforis.collect.datacleansing.DataCleansingItem
-
- org.openforis.collect.datacleansing.DataQuery
-
- All Implemented Interfaces:
Serializable,org.openforis.commons.lang.DeepComparable,org.openforis.commons.lang.IdentifiableDeepComparable,Annotatable,PersistedObject<Integer>
public class DataQuery extends DataCleansingItem
- Author:
- S. Ricci
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQuery.ErrorSeverity
-
Constructor Summary
Constructors Constructor Description DataQuery(CollectSurvey survey)DataQuery(CollectSurvey survey, UUID uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeepEquals(Object obj, boolean ignoreId)AttributeDefinitiongetAttributeDefinition()intgetAttributeDefinitionId()StringgetConditions()StringgetDescription()EntityDefinitiongetEntityDefinition()intgetEntityDefinitionId()DataQuery.ErrorSeveritygetErrorSeverity()StringgetTitle()DataQueryTypegetType()IntegergetTypeId()voidsetAttributeDefinition(AttributeDefinition def)voidsetAttributeDefinitionId(int attributeDefinitionId)voidsetConditions(String conditions)voidsetDescription(String description)voidsetEntityDefinition(EntityDefinition def)voidsetEntityDefinitionId(int entityDefinitionId)voidsetErrorSeverity(DataQuery.ErrorSeverity severity)voidsetTitle(String title)voidsetType(DataQueryType type)voidsetTypeId(Integer typeId)-
Methods inherited from class org.openforis.idm.metamodel.PersistedSurveyObject
deepEquals, equals, getCreationDate, getId, getModifiedDate, getUuid, hashCode, setCreationDate, setId, setModifiedDate, setUuid
-
Methods inherited from class org.openforis.idm.metamodel.SurveyObject
getAnnotation, getAnnotationNames, getAnnotations, getSchema, getSurvey, isDetached, replaceSurvey, setAnnotation, setAnnotations
-
-
-
-
Constructor Detail
-
DataQuery
public DataQuery(CollectSurvey survey)
-
DataQuery
public DataQuery(CollectSurvey survey, UUID uuid)
-
-
Method Detail
-
getEntityDefinition
public EntityDefinition getEntityDefinition()
-
getAttributeDefinition
public AttributeDefinition getAttributeDefinition()
-
setAttributeDefinition
public void setAttributeDefinition(AttributeDefinition def)
-
setEntityDefinition
public void setEntityDefinition(EntityDefinition def)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getEntityDefinitionId
public int getEntityDefinitionId()
-
setEntityDefinitionId
public void setEntityDefinitionId(int entityDefinitionId)
-
getAttributeDefinitionId
public int getAttributeDefinitionId()
-
setAttributeDefinitionId
public void setAttributeDefinitionId(int attributeDefinitionId)
-
getConditions
public String getConditions()
-
setConditions
public void setConditions(String conditions)
-
getErrorSeverity
public DataQuery.ErrorSeverity getErrorSeverity()
-
setErrorSeverity
public void setErrorSeverity(DataQuery.ErrorSeverity severity)
-
getTypeId
public Integer getTypeId()
-
setTypeId
public void setTypeId(Integer typeId)
-
getType
public DataQueryType getType()
-
setType
public void setType(DataQueryType type)
-
deepEquals
public boolean deepEquals(Object obj, boolean ignoreId)
- Specified by:
deepEqualsin interfaceorg.openforis.commons.lang.IdentifiableDeepComparable- Overrides:
deepEqualsin classPersistedSurveyObject<Integer>
-
-