org.xpcards.model
Class ModelElementCollection

java.lang.Object
  extended byorg.xpcards.model.ModelElement
      extended byorg.xpcards.model.Collection
          extended byorg.xpcards.model.TypedCollection
              extended byorg.xpcards.model.ModelElementCollection
All Implemented Interfaces:
IConstraint, IIdentifiedInstance, java.io.Serializable

public class ModelElementCollection
extends TypedCollection

Model Elements Collection to track Model Elements by ID

Author:
galu02
See Also:
Serialized Form

Constructor Summary
ModelElementCollection()
           
ModelElementCollection(java.lang.Class type)
           
 
Method Summary
 ModelElement[] getChildren()
           
 void putElement(ModelElement element)
           
 void removeElement(ModelElement element)
           
 java.lang.String toString()
           
 
Methods inherited from class org.xpcards.model.TypedCollection
getType, isAcceptable, isAcceptableType, putElement, setType
 
Methods inherited from class org.xpcards.model.Collection
containsKey, containsValue, createUniqueIndex, elements, removeElement, size, toArray, toArray
 
Methods inherited from class org.xpcards.model.ModelElement
addModelElementListener, equals, getCreated, getCreatedBy, getDescription, getId, getName, getParent, isCommited, propagateCommitedForParents, removeModelElementListener, setCommited, setCommitedForSelfAndAncestors, setCommitedForSelfAndChildren, setCommitedForSelfAndDescendants, setCreated, setCreatedBy, setDescription, setId, setName, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelElementCollection

public ModelElementCollection()

ModelElementCollection

public ModelElementCollection(java.lang.Class type)
Method Detail

putElement

public void putElement(ModelElement element)

removeElement

public void removeElement(ModelElement element)

toString

public java.lang.String toString()
See Also:
Object.toString()

getChildren

public ModelElement[] getChildren()
Overrides:
getChildren in class ModelElement
See Also:
org.xpcards.model.ModelElement#getChildrenCollections()


Copyright © 2004 Mikhail Galyutin. All Rights Reserved.