Class GeneralReferenceSearchData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.SearchData<GeneralReferenceQuery>
-
- org.cyclos.model.users.references.GeneralReferenceSearchData
-
- All Implemented Interfaces:
Serializable
public class GeneralReferenceSearchData extends SearchData<GeneralReferenceQuery>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,GeneralReferenceSearchData>CAN_SET_REFERENCEstatic StringCLASS_NAMEstatic BasicProperty<GeneralReferenceVO,GeneralReferenceSearchData>CURRENTstatic ListProperty<ReferenceType,GeneralReferenceSearchData>DIRECTIONSstatic BasicProperty<Boolean,GeneralReferenceSearchData>EDITABLEstatic BasicProperty<UserVO,GeneralReferenceSearchData>OWNERstatic ListProperty<ReferenceLevel,GeneralReferenceSearchData>REFERENCE_LEVELS-
Fields inherited from class org.cyclos.model.SearchData
QUERY
-
-
Constructor Summary
Constructors Constructor Description GeneralReferenceSearchData()GeneralReferenceSearchData(Property<T,? super GeneralReferenceSearchData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()GeneralReferenceVOgetCurrent()List<ReferenceType>getDirections()UserVOgetOwner()List<ReferenceLevel>getReferenceLevels()booleanisCanSetReference()booleanisEditable()voidsetCanSetReference(boolean canSetReference)voidsetCurrent(GeneralReferenceVO current)voidsetDirections(List<ReferenceType> directions)voidsetEditable(boolean editable)voidsetOwner(UserVO owner)voidsetReferenceLevels(List<ReferenceLevel> referenceLevels)-
Methods inherited from class org.cyclos.model.SearchData
getQuery, setQuery
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CAN_SET_REFERENCE
public static final BasicProperty<Boolean,GeneralReferenceSearchData> CAN_SET_REFERENCE
-
CURRENT
public static final BasicProperty<GeneralReferenceVO,GeneralReferenceSearchData> CURRENT
-
DIRECTIONS
public static final ListProperty<ReferenceType,GeneralReferenceSearchData> DIRECTIONS
-
EDITABLE
public static final BasicProperty<Boolean,GeneralReferenceSearchData> EDITABLE
-
OWNER
public static final BasicProperty<UserVO,GeneralReferenceSearchData> OWNER
-
REFERENCE_LEVELS
public static final ListProperty<ReferenceLevel,GeneralReferenceSearchData> REFERENCE_LEVELS
-
-
Constructor Detail
-
GeneralReferenceSearchData
public GeneralReferenceSearchData()
-
GeneralReferenceSearchData
public GeneralReferenceSearchData(Property<T,? super GeneralReferenceSearchData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classSearchData<GeneralReferenceQuery>
-
isCanSetReference
public boolean isCanSetReference()
-
setCanSetReference
public void setCanSetReference(boolean canSetReference)
-
getCurrent
public GeneralReferenceVO getCurrent()
-
setCurrent
public void setCurrent(GeneralReferenceVO current)
-
getDirections
public List<ReferenceType> getDirections()
-
setDirections
public void setDirections(List<ReferenceType> directions)
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean editable)
-
getOwner
public UserVO getOwner()
-
setOwner
public void setOwner(UserVO owner)
-
getReferenceLevels
public List<ReferenceLevel> getReferenceLevels()
-
setReferenceLevels
public void setReferenceLevels(List<ReferenceLevel> referenceLevels)
-
-