macaw.businessLayer
Class VariableSummary

java.lang.Object
  extended by macaw.businessLayer.VariableSummary
All Implemented Interfaces:
java.lang.Cloneable, Displayable

public class VariableSummary
extends java.lang.Object
implements Displayable

Describes the minimum amount of information in a search result for a Variable. It is used to provide a summary of a variable record that would appear in a list of results.


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)

Constructor Summary
VariableSummary()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getDisplayItemIdentifier()
           
 java.lang.String getDisplayName()
           
 int getIdentifier()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 java.lang.String getYear()
           
 boolean hasSameDisplayName(VariableSummary variableSummary)
           
 boolean isDerived()
           
 void setDerived(boolean isDerived)
           
 void setIdentifier(int identifier)
           
 void setLabel(java.lang.String label)
           
 void setName(java.lang.String name)
           
 void setYear(java.lang.String year)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableSummary

public VariableSummary()
Method Detail

getIdentifier

public int getIdentifier()
Returns:
the identifier

setIdentifier

public void setIdentifier(int identifier)
Parameters:
identifier - the identifier to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getLabel

public java.lang.String getLabel()
Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - the label to set

getYear

public java.lang.String getYear()
Returns:
the year

setYear

public void setYear(java.lang.String year)
Parameters:
year - the year to set

isDerived

public boolean isDerived()

setDerived

public void setDerived(boolean isDerived)

hasSameDisplayName

public boolean hasSameDisplayName(VariableSummary variableSummary)

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface Displayable

getDisplayItemIdentifier

public java.lang.String getDisplayItemIdentifier()
Specified by:
getDisplayItemIdentifier in interface Displayable

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object