pt.ist.fenixframework.dml.runtime
Class RelationAwareSet<E1 extends DomainObject,E2 extends DomainObject>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E2>
pt.ist.fenixframework.dml.runtime.RelationAwareSet<E1,E2>
- All Implemented Interfaces:
- Iterable<E2>, Collection<E2>, Set<E2>, RelationBaseSet<E2>
public class RelationAwareSet<E1 extends DomainObject,E2 extends DomainObject>
- extends AbstractSet<E2>
- implements Set<E2>, RelationBaseSet<E2>
RelationAwareSet
public RelationAwareSet(E1 owner,
Relation<E1,E2> relation,
Set<E2> set)
justAdd
public void justAdd(E2 elem)
- Specified by:
justAdd
in interface RelationBaseSet<E2 extends DomainObject>
justRemove
public void justRemove(E2 elem)
- Specified by:
justRemove
in interface RelationBaseSet<E2 extends DomainObject>
size
public int size()
- Specified by:
size
in interface Collection<E2 extends DomainObject>
- Specified by:
size
in interface Set<E2 extends DomainObject>
- Specified by:
size
in class AbstractCollection<E2 extends DomainObject>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<E2 extends DomainObject>
- Specified by:
contains
in interface Set<E2 extends DomainObject>
- Overrides:
contains
in class AbstractCollection<E2 extends DomainObject>
iterator
public Iterator<E2> iterator()
- Specified by:
iterator
in interface Iterable<E2 extends DomainObject>
- Specified by:
iterator
in interface Collection<E2 extends DomainObject>
- Specified by:
iterator
in interface Set<E2 extends DomainObject>
- Specified by:
iterator
in class AbstractCollection<E2 extends DomainObject>
add
public boolean add(E2 o)
- Specified by:
add
in interface Collection<E2 extends DomainObject>
- Specified by:
add
in interface Set<E2 extends DomainObject>
- Overrides:
add
in class AbstractCollection<E2 extends DomainObject>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<E2 extends DomainObject>
- Specified by:
remove
in interface Set<E2 extends DomainObject>
- Overrides:
remove
in class AbstractCollection<E2 extends DomainObject>
Copyright © 2013. All Rights Reserved.