public class MasterCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
MasterShortcutCollection | getMasterShortcuts() | |
MasterShortcut collection.
|
||
Master | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(Master master) | |
Add the Master object in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
Master | getMaster(int ID) | |
Gets the element at the specified ID.
|
||
Master | getMasterByName(java.lang.String name) | |
Get master by name.
|
||
int | getMaxRelID() | |
get the max rel id in the collection.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
boolean | isExist(java.lang.String name) | |
Is exist master in the collection.
|
||
boolean | isExistRelId(java.lang.String relID) | |
Is exist master rel id in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(Master master) | |
Remove the Master object from the collection.
|
public MasterShortcutCollection getMasterShortcuts()
public int getCount()
public Master get(int index)
index
- public int add(Master master)
master
- public void remove(Master master)
master
- public Master getMaster(int ID)
ID
- public Master getMasterByName(java.lang.String name)
name
- public int getMaxRelID()
name
- public boolean isExistRelId(java.lang.String relID)
name
- public boolean isExist(java.lang.String name)
name
- public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()