|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: interface TCExport
Description: via TCExport it is possible to get the structure and data of the TC schema
Copyright: Copyright (c) 2003
Company: CMC Computers
Method Summary | |
ClassfulQDisc |
getAncestorClassfulQDisc(Class c)
Returns classfull qdisc which is (possibly indirect) parent of the given Class. |
QDisc |
getAttachedQDisc(Class c)
Returns QDisc attached to the given class. |
Class |
getClassMatch(FilterElement fe)
Get Class matching the given FilterElement |
DataDefinition |
getDataDefinition()
Get DataDefinition instance which defines TCObjects and their attributes |
String |
getDevice()
|
Filter |
getFilter(FilterElement fe)
Returns filter the filter element is in. |
FilterContainer |
getFilterContainer(Filter f)
Returns filter container the filter is in. |
FilterElement[] |
getFilterElements(Filter f)
Returns filter elements in the given filter. |
FilterElement[] |
getFilterMatch(Class c)
Get FilterElements matching the given Class |
Filter[] |
getFilters(FilterContainer fc)
Return filters attached to the given FilterContainer (ClassfulQDisc or Class) in the correct order. |
Class |
getParentClass(QDisc qd)
Returns the Class the given qdisc is attached on. |
SubclassableTCObject |
getParentSubclassableTCObject(Class c)
Returns ClassfulQDisc or class which is parent of the given class. |
TCObject[] |
getRootTCObjects()
|
Class[] |
getSubclasses(SubclassableTCObject stco)
Gets all subclasses of the specified SubclassableTCObject. |
Map |
getTCAttributes(TCObject tco)
Get attributes for given TCObject The returned map should not be changed since it is guaranteed to be copied at the return time. |
TCObject |
getTCObjectForID(int id)
Returns TCObject with the given id. |
Map |
getViewAttributes(TCObject tco)
Returns view attributes for the given TCObject The returned map should not be changed since it is guaranteed to be copied at the return time. |
boolean |
isLeafClass(Class c)
Returns whether the Class is Leaf (has no subclasses). |
Method Detail |
public DataDefinition getDataDefinition()
public String getDevice()
public TCObject getTCObjectForID(int id)
public TCObject[] getRootTCObjects()
public Map getTCAttributes(TCObject tco)
tco
- TCObject to get attributes for
public Map getViewAttributes(TCObject tco)
tco
- TCObject to return view attributes for
public Class[] getSubclasses(SubclassableTCObject stco)
stco
- Class or ClassfulQDisc to return subclasses for
getAttachedQDisc(Class)
,
getParentClass(QDisc)
public boolean isLeafClass(Class c)
c
- Class
public SubclassableTCObject getParentSubclassableTCObject(Class c)
c
- class to return parent for
public ClassfulQDisc getAncestorClassfulQDisc(Class c)
public QDisc getAttachedQDisc(Class c)
c
- class to get attched QDisc for
public Class getParentClass(QDisc qd)
qd
- attached QDisc
public Filter[] getFilters(FilterContainer fc)
fc
- FilterContainer to return filters
public FilterContainer getFilterContainer(Filter f)
f
- filter
public FilterElement[] getFilterElements(Filter f)
f
- Filter to return filter elements for
public Filter getFilter(FilterElement fe)
fe
- filter element
public Class getClassMatch(FilterElement fe)
fe
- filter element to return matching Class for
public FilterElement[] getFilterMatch(Class c)
c
- Class to return matching FilterElement for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |