|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.m4.core.OperatorGroup
Field Summary | |
static java.lang.String |
ATTRIB_OPG_OPID
Name of the operator group's operator foreign key attribute |
static java.lang.String |
ATTRIB_OPGROUP_ID
Name of the operator group primary key attribute |
static java.lang.String |
ATTRIB_OPGROUP_NAME
Name of the operator group's name attribute |
static java.lang.String |
ATTRIB_OPGROUP_PARENT
Name of the operator group's parent group |
static java.lang.String |
M4_TABLE_NAME
Name of the operator group m4 table |
Constructor Summary | |
OperatorGroup(DB db)
|
Method Summary | |
java.util.Collection |
getChildGroups(java.lang.Long id)
|
java.lang.String |
getGroupName(java.lang.Long id)
|
Operator |
getOperator(java.lang.Long id)
|
java.lang.Long |
getParentGroup(java.lang.Long id)
|
java.util.Collection |
getTopLevelOperatorGroups()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String M4_TABLE_NAME
public static final java.lang.String ATTRIB_OPGROUP_ID
public static final java.lang.String ATTRIB_OPGROUP_PARENT
public static final java.lang.String ATTRIB_OPG_OPID
public static final java.lang.String ATTRIB_OPGROUP_NAME
Constructor Detail |
public OperatorGroup(DB db) throws M4Exception, DbConnectionClosed
Method Detail |
public java.util.Collection getTopLevelOperatorGroups()
getTopLevelOperatorGroups
in interface OperatorGroup
Collection
of IDs of type Long
representing operator groups. This IDs can be used to query further
information about the group using the methods of this class.public java.lang.String getGroupName(java.lang.Long id)
getGroupName
in interface OperatorGroup
id
- the ID of an operator group
public Operator getOperator(java.lang.Long id) throws M4Exception
getOperator
in interface OperatorGroup
id
- the ID of an operator group
Operator
if the ID refers to a single operator
entry, rather than to a group.
M4Exception
public java.lang.Long getParentGroup(java.lang.Long id)
getParentGroup
in interface OperatorGroup
id
- the ID of an operator group
null
, if the ID
belongs to a top-level operator group.public java.util.Collection getChildGroups(java.lang.Long id)
getChildGroups
in interface OperatorGroup
id
- the ID of an operator group
Collection
of the ID of all child operator groups
(or operator instances) referred to with their Long
IDs.
If the specified id is unknown or does not contain sub-elements, then
null
is returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |