macaw.businessLayer
Class RawVariable
java.lang.Object
macaw.businessLayer.Variable
macaw.businessLayer.RawVariable
- All Implemented Interfaces:
- java.lang.Cloneable, Displayable
public class RawVariable
- extends Variable
a Variable that relates to a particular question on a particular
form of a particular survey that forms part of the NSHD’s ongoing study.
The majority of RawVariables are found on paper-based index cards,
some of which are decades old.
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class macaw.businessLayer.Variable |
addOntologyTerm, addOntologyTerms, addSupportingDocument, addSupportingDocuments, addValueLabel, cloneAttributes, containsOntologyTerm, containsSupportingDocument, createVariableSummary, detectChangesInAlternativeVariable, detectFieldChanges, getAlias, getAlternativeVariable, getAvailability, getCategory, getCleaningDescription, getCleaningStatus, getCodeBookNumber, getColumnEnd, getColumnStart, getDisplayItemIdentifier, getDisplayName, getFilePath, getForm, getIdentifier, getLabel, getName, getNotes, getOntologyTerms, getQuestionNumber, getSupportingDocuments, getValueLabels, getYear, isCleaned, isCoded, isNewRecord, removeOntologyTerm, removeOntologyTerms, removeSupportingDocument, removeSupportingDocuments, removeValueLabel, setAlias, setAlternativeVariable, setAvailability, setCategory, setCleaned, setCleaningDescription, setCleaningStatus, setCodeBookNumber, setCoded, setColumnEnd, setColumnStart, setFilePath, setForm, setIdentifier, setIsNewRecord, setLabel, setName, setNotes, setOntologyTerms, setQuestionNumber, setSupportingDocuments, setValueLabels, setYear, updateOntologyTerm, validateFields |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawVariable
public RawVariable()
detectFieldChanges
public static java.util.ArrayList<MacawChangeEvent> detectFieldChanges(User user,
RawVariable originalRawVariable,
RawVariable revisedRawVariable)
hasSameDisplayName
public boolean hasSameDisplayName(Variable variable)
validateFields
public static void validateFields(RawVariable rawVariable)
throws MacawException
- Throws:
MacawException
clone
public java.lang.Object clone()
- Specified by:
clone
in class Variable