public class ObjectAuthorizations extends java.lang.Object implements java.lang.Iterable<ObjectRight>
Constructor and Description |
---|
ObjectAuthorizations()
Creates a new ObjectAuthorizations object.
|
Modifier and Type | Method and Description |
---|---|
void |
addRight(ObjectRight right)
Adds a new row to the authorizations tab.
|
void |
clear()
Clears the list of authorizations.
|
java.util.Iterator<ObjectRight> |
iterator()
Returns an
java.util.Iterator over ObjectRight . |
int |
size()
Returns the number of authorizations for this UC4Object.
|
public ObjectAuthorizations()
public java.util.Iterator<ObjectRight> iterator()
java.util.Iterator
over ObjectRight
.
The returned Iterator can be used to remove elements by using the remove()
method.iterator
in interface java.lang.Iterable<ObjectRight>
public void addRight(ObjectRight right)
right
- authorizationpublic void clear()
public int size()