Class DataQueryGroup
- java.lang.Object
-
- org.openforis.idm.metamodel.SurveyObject
-
- org.openforis.idm.metamodel.PersistedSurveyObject<Integer>
-
- org.openforis.collect.datacleansing.DataCleansingItem
-
- org.openforis.collect.datacleansing.DataQueryGroup
-
- All Implemented Interfaces:
Serializable,org.openforis.commons.lang.DeepComparable,org.openforis.commons.lang.IdentifiableDeepComparable,Annotatable,PersistedObject<Integer>
public class DataQueryGroup extends DataCleansingItem
- Author:
- S. Ricci
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataQueryGroup(CollectSurvey survey)DataQueryGroup(CollectSurvey survey, UUID uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddQuery(DataQuery query)voidallAllQueries(List<DataQuery> queries)booleandeepEquals(Object obj, boolean ignoreId)StringgetDescription()List<DataQuery>getQueries()DataQuerygetQuery(int id)List<Integer>getQueryIds()StringgetTitle()voidremoveAllQueries()voidsetDescription(String description)voidsetQueries(List<DataQuery> queries)voidsetQueryIds(List<Integer> queryIds)voidsetTitle(String title)-
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
-
DataQueryGroup
public DataQueryGroup(CollectSurvey survey)
-
DataQueryGroup
public DataQueryGroup(CollectSurvey survey, UUID uuid)
-
-
Method Detail
-
getQuery
public DataQuery getQuery(int id)
-
addQuery
public void addQuery(DataQuery query)
-
removeAllQueries
public void removeAllQueries()
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
deepEquals
public boolean deepEquals(Object obj, boolean ignoreId)
- Specified by:
deepEqualsin interfaceorg.openforis.commons.lang.IdentifiableDeepComparable- Overrides:
deepEqualsin classPersistedSurveyObject<Integer>
-
-