|
|||||||||
| Home >> All >> org >> modama >> framework >> [ entities overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.modama.framework.entities
Class AbstractEntityList

java.lang.Objectorg.modama.ModelStates
org.modama.Model
org.modama.framework.AbstractFrameworkModel
org.modama.framework.entities.AbstractEntity
org.modama.framework.entities.AbstractEntityList
- Direct Known Subclasses:
- ImageList, NumberList
- public abstract class AbstractEntityList
- extends AbstractEntity
a collection of entitys
| Field Summary | |
static java.lang.String |
EVENT_ADD
|
static java.lang.String |
EVENT_CLEAR
|
static java.lang.String |
EVENT_REMOVE
|
static java.lang.String |
EVENT_REPLACE
|
| Fields inherited from class org.modama.framework.entities.AbstractEntity |
fullName, ID, IDcnt, PROP_DATA, PROP_FULLNAME |
| Fields inherited from class org.modama.framework.AbstractFrameworkModel |
name, PROP_NAME |
| Fields inherited from class org.modama.Model |
changeAgent, EVENT_FIRED, state |
| Fields inherited from class org.modama.ModelStates |
CREATED, DELETED, MODIFIED, SAVED |
| Constructor Summary | |
AbstractEntityList()
|
|
AbstractEntityList(java.lang.String name)
|
|
| Method Summary | |
abstract void |
add(AbstractEntity entity)
|
abstract void |
add(int index,
AbstractEntity entity)
|
abstract void |
clear()
|
abstract AbstractEntity |
get(int index)
|
abstract int |
getSize()
the typical methods for a list event firing has to be done in the overriden functions |
abstract void |
remove(AbstractEntity entity)
|
abstract void |
remove(int index)
|
abstract void |
replace(int index,
AbstractEntity entity)
|
| Methods inherited from class org.modama.framework.entities.AbstractEntity |
create, delete, getData, getFullName, getID, isEmpty, setData, setFullName |
| Methods inherited from class org.modama.framework.AbstractFrameworkModel |
getName, load, save, setName |
| Methods inherited from class org.modama.Model |
addPropertyChangeListener, addPropertyChangeListener, fire, fire, fire, getState, removePropertyChangeListener, removePropertyChangeListener, setState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
EVENT_ADD
public static final java.lang.String EVENT_ADD
- See Also:
- Constant Field Values
EVENT_REMOVE
public static final java.lang.String EVENT_REMOVE
- See Also:
- Constant Field Values
EVENT_REPLACE
public static final java.lang.String EVENT_REPLACE
- See Also:
- Constant Field Values
EVENT_CLEAR
public static final java.lang.String EVENT_CLEAR
- See Also:
- Constant Field Values
| Constructor Detail |
AbstractEntityList
public AbstractEntityList()
AbstractEntityList
public AbstractEntityList(java.lang.String name)
| Method Detail |
getSize
public abstract int getSize()
- the typical methods for a list
event firing has to be done in the overriden functions
add
public abstract void add(AbstractEntity entity)
add
public abstract void add(int index,
AbstractEntity entity)
remove
public abstract void remove(AbstractEntity entity)
remove
public abstract void remove(int index)
replace
public abstract void replace(int index,
AbstractEntity entity)
get
public abstract AbstractEntity get(int index)
clear
public abstract void clear()
|
|||||||||
| Home >> All >> org >> modama >> framework >> [ entities overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC