project35.mda.model
Class ChangeObject
java.lang.Object
project35.mda.model.ChangeObject
public class ChangeObject
- extends java.lang.Object
Object that carries information about events governing record
creation.
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_DELETED
public static final int OBJECT_DELETED
- See Also:
- Constant Field Values
OBJECT_UPDATED
public static final int OBJECT_UPDATED
- See Also:
- Constant Field Values
OBJECT_CANCELLED
public static final int OBJECT_CANCELLED
- See Also:
- Constant Field Values
OBJECT_GAINS_FOCUS
public static final int OBJECT_GAINS_FOCUS
- See Also:
- Constant Field Values
OBJECT_CREATED
public static final int OBJECT_CREATED
- See Also:
- Constant Field Values
CHILDREN_CREATED
public static final int CHILDREN_CREATED
- if the change object is has "children_created", then the
record name provider passed is actually the parent of the
children which are created. in future, this class will be
cleaned up to make a more consistent view of what the
record name provider means
- See Also:
- Constant Field Values
REVISING_CHILDREN_LIST
public static final int REVISING_CHILDREN_LIST
- this is used to remove and then add a revised list of children
for a given list field model
- See Also:
- Constant Field Values
ChangeObject
public ChangeObject(RecordNameProvider recordNameProvider,
int changeType)
getChangeType
public int getChangeType()
getRecord
public RecordNameProvider getRecord()
getChildren
public java.util.ArrayList getChildren()
getChild
public java.lang.Object getChild()
getOldChildrenList
public java.util.ArrayList getOldChildrenList()
getNewChildrenList
public java.util.ArrayList getNewChildrenList()
setOldAndNewChildrenList
public void setOldAndNewChildrenList(java.util.ArrayList oldChildrenList,
java.util.ArrayList newChildrenList)
setChild
public void setChild(java.lang.Object child)
setChildren
public void setChildren(java.util.ArrayList children)