org.archiviststoolkit.model
Class LookupList
java.lang.Object
   com.jgoodies.binding.beans.Model
com.jgoodies.binding.beans.Model
       org.archiviststoolkit.mydomain.DomainObject
org.archiviststoolkit.mydomain.DomainObject
           org.archiviststoolkit.model.LookupList
org.archiviststoolkit.model.LookupList
- All Implemented Interfaces: 
- com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle
- public class LookupList 
- extends DomainObject
- See Also:
- Serialized Form
 
 
| Fields inherited from interface org.hibernate.classic.Lifecycle | 
| NO_VETO, VETO | 
 
| Constructor Summary | 
| LookupList()Creates a new instance of LookupList
 | 
 
 
| Methods inherited from class org.archiviststoolkit.mydomain.DomainObject | 
| addRelatedObject, compareTo, creationDate, equals, getAuditInfo, getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, getRelatedCollection, getRelatedObject, getUniqueConstraintKey, getVersion, hashCode, isNewRecord, lastUpdated, onDelete, onLoad, onSave, onUpdate, removeIdAndAuditInfo, removeRelatedObject, setAuditInfo, setVersion, testDeleteRules, validateAndDisplayDialog | 
 
| Methods inherited from class com.jgoodies.binding.beans.Model | 
| addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener | 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
 
PROPERTYNAME_LIST_NAME
public static final java.lang.String PROPERTYNAME_LIST_NAME
- See Also:
- Constant Field Values
PROPERTYNAME_LIST_TYPE
public static final java.lang.String PROPERTYNAME_LIST_TYPE
- See Also:
- Constant Field Values
PROPERTYNAME_PAIRED_VALUES
public static final java.lang.String PROPERTYNAME_PAIRED_VALUES
- See Also:
- Constant Field Values
PROPERTYNAME_RESTRICT_TO_NMTOKEN
public static final java.lang.String PROPERTYNAME_RESTRICT_TO_NMTOKEN
- See Also:
- Constant Field Values
LookupList
public LookupList()
- Creates a new instance of LookupList
 
getListName
public java.lang.String getListName()
- 
 
setListName
public void setListName(java.lang.String listName)
- 
 
addListItem
public boolean addListItem(LookupListItems listItem)
- Adds a BillingDetails to the set.
 
 This method checks if there is only one billing method
 in the set, then makes this the default.
 
- 
- Parameters:
- listItem-
 
addListItem
public boolean addListItem(java.lang.String value)
- 
 
addListItem
public boolean addListItem(java.lang.String value,
                           java.lang.String code)
- 
 
addListItem
public boolean addListItem(java.lang.String value,
                           java.lang.String code,
                           java.lang.Boolean editable)
- 
 
addListItem
public boolean addListItem(java.lang.String value,
                           java.lang.Boolean editable)
- 
 
removeListItem
public void removeListItem(LookupListItems listItem)
- Removes a BillingDetails from the set.
 
 This method checks if the removed is the default element,
 and will throw a BusinessException if there is more than one
 left to chose from. This might actually not be the best way
 to handle this situation.
 
- 
- Parameters:
- listItem-
 
addListItems
public void addListItems(java.util.ArrayList array)
- 
 
getListItems
public java.util.Set<LookupListItems> getListItems()
- 
 
containsItem
public boolean containsItem(java.lang.String item)
- 
 
getItem
public LookupListItems getItem(java.lang.String item)
- 
 
getListItemsWithBlankAtTop
public java.util.TreeSet<java.lang.String> getListItemsWithBlankAtTop()
- 
 
getListItemsWithBlankAtTopObjects
public java.util.TreeSet<LookupListItems> getListItemsWithBlankAtTopObjects()
- 
 
getListItemsAsArrayList
public java.util.TreeSet<java.lang.String> getListItemsAsArrayList()
- 
 
setListItems
public void setListItems(java.util.Set<LookupListItems> listItems)
- 
 
getIdentifier
public java.lang.Long getIdentifier()
- 
- Specified by:
- getIdentifierin class- DomainObject
 
- 
- Returns:
- Returns the identifier.
 
setIdentifier
public void setIdentifier(java.lang.Long identifier)
- 
- Specified by:
- setIdentifierin class- DomainObject
 
- 
- Parameters:
- identifier- The identifier to set.
 
getLookupListId
public java.lang.Long getLookupListId()
- 
 
setLookupListId
public void setLookupListId(java.lang.Long lookupListId)
- 
 
getListType
public java.lang.Integer getListType()
- 
 
setListType
public void setListType(java.lang.Integer listType)
- 
 
getPairedValues
public java.lang.Boolean getPairedValues()
- 
 
setPairedValues
public void setPairedValues(java.lang.Boolean pairedValues)
- 
 
getRestrictToNmtoken
public java.lang.Boolean getRestrictToNmtoken()
- 
 
setRestrictToNmtoken
public void setRestrictToNmtoken(java.lang.Boolean restrictToNmtoken)
-