com.melloware.jukes.db.orm
Class Catalog
java.lang.Object
com.jgoodies.binding.beans.Model
com.melloware.jukes.db.orm.AbstractJukesObject
com.melloware.jukes.db.orm.Catalog
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, java.io.Serializable
public final class Catalog
- extends AbstractJukesObject
References all relevant project data: the project description and a
list of artists. The artists refer to their child components.
Copyright (c) 1999-2007 Melloware, Inc.
- Version:
- 4.0
- Author:
- Emil A. Lefkof III
- See Also:
- Serialized Form
|
Constructor Summary |
Catalog(java.lang.String aFilter)
Constructs a Catalog with the given name and
and loads all the artists. |
|
Method Summary |
static java.util.List |
findAllArtists()
Loads all artists in the catalog and will return quickly if they are
already cached. |
java.util.List |
getArtists()
Gets the artists. |
java.util.Date |
getAuditDate()
This date determines how the NEW flag is checked in the isNew() function. |
int |
getChildCount()
Method implemented in each ORM class. |
java.util.Date |
getCreatedDate()
Method implemented in each ORM class. |
java.lang.Long |
getId()
All objects must implement a unique identifier. |
java.util.Date |
getModifiedDate()
Method implemented in each ORM class. |
java.lang.String |
getName()
All objects must implement a name function to describe this object. |
boolean |
isValid()
Gets the valid flag. |
| Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireMulticastPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Catalog
public Catalog(java.lang.String aFilter)
- Constructs a
Catalog with the given name and
and loads all the artists.
- Parameters:
aFilter - the filter if there is one to apply
findAllArtists
public static java.util.List findAllArtists()
- Loads all artists in the catalog and will return quickly if they are
already cached.
- Returns:
- the complete list of artists
getArtists
public java.util.List getArtists()
- Gets the artists.
- Returns:
- Returns the artists.
getAuditDate
public java.util.Date getAuditDate()
- This date determines how the NEW flag is checked in the isNew() function.
- Specified by:
getAuditDate in class AbstractJukesObject
- Returns:
- the audit date to determine new-ness
getChildCount
public int getChildCount()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. If it has some sort of child return
the count else return 0. This is used for lazy loading the tree nodes.
- Specified by:
getChildCount in class AbstractJukesObject
- Returns:
- the count of the children or 0 if no children
getCreatedDate
public java.util.Date getCreatedDate()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. This returns the audit created
date.
- Specified by:
getCreatedDate in class AbstractJukesObject
- Returns:
- the created date
getId
public java.lang.Long getId()
- Description copied from class:
AbstractJukesObject
- All objects must implement a unique identifier.
- Specified by:
getId in class AbstractJukesObject
- Returns:
- the id of the object
getModifiedDate
public java.util.Date getModifiedDate()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. This returns the audit modified
date.
- Specified by:
getModifiedDate in class AbstractJukesObject
- Returns:
- the modification date
getName
public java.lang.String getName()
- Description copied from class:
AbstractJukesObject
- All objects must implement a name function to describe this object.
- Specified by:
getName in class AbstractJukesObject
- Returns:
- the name of the object
isValid
public boolean isValid()
- Description copied from class:
AbstractJukesObject
- Gets the valid flag.
- Specified by:
isValid in class AbstractJukesObject
- Returns:
- Returns the valid flag.
Copyright © 1999-2008 Melloware Inc. All Rights Reserved.