xdc.services.spec
Class Unit
java.lang.Object
xdc.services.spec.Node
xdc.services.spec.Unit
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Node>
public class Unit
- extends Node
- See Also:
- Serialized Form
Methods inherited from class xdc.services.spec.Node |
attrBool, attrInt, attrString, compareTo, getAtom, getAttrMap, getDocs, getName, getParent, getSession, getSummary, hasAttr, isExternal, isFinal, isInst, isInter, isInternal, isMeta, isMod, isNodoc, isOver, isReadonly, isStatic, isSys, makeXDoc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decl
@Deprecated
public final Decl decl(java.lang.String name)
- Deprecated. replaced by
getDecl(String)
delegatesTo
public final Unit delegatesTo()
getAllFxns
public final java.util.List<Decl.Fxn> getAllFxns()
getCreator
public final Decl.Fxn getCreator()
getChildren
public java.util.List<Decl> getChildren()
- Specified by:
getChildren
in class Node
getConfigs
public final java.util.List<Decl.Config> getConfigs()
getDecl
public final Decl getDecl(java.lang.String name)
- Get the named declaration from this unit.
This method returns the most specific declaration named by
name for this unit. If the named declaration does not exist, null is
returned.
getDecls
public final java.util.List<Decl> getDecls()
getEmbeds
public final java.util.Set<Unit> getEmbeds()
getFxns
public final java.util.List<Decl.Fxn> getFxns()
getInherits
public final java.util.List<Unit> getInherits()
getInternFxns
public final java.util.List<Decl.Fxn> getInternFxns()
getProxies
public final java.util.List<Unit> getProxies()
getPkgName
public final java.lang.String getPkgName()
- Overrides:
getPkgName
in class Node
getQualName
public final java.lang.String getQualName()
- Specified by:
getQualName
in class Node
getSuper
public final Unit getSuper()
getUses
public final java.util.Set<Unit> getUses()
getXmlTag
public final java.lang.String getXmlTag()
- Specified by:
getXmlTag
in class Node
hasCustHdr
public final boolean hasCustHdr()
hasCreateArgs
public boolean hasCreateArgs()
isForwarding
public final boolean isForwarding()
isHeir
public final boolean isHeir()
isProxy
public final boolean isProxy()
isSized
public final boolean isSized()
hasInstObj
public final boolean hasInstObj()
needsRuntime
public final boolean needsRuntime()
queryFacet
public java.lang.String queryFacet(java.lang.String tName)
- Query unit for the specified facet type
- Returns:
- the name of the config parameter that corresponds to the
type named by tName