xdc.services.spec
Class Unit

java.lang.Object
  extended by xdc.services.spec.Node
      extended by xdc.services.spec.Unit
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Node>

public class Unit
extends Node

See Also:
Serialized Form

Method Summary
 Decl decl(java.lang.String name)
          Deprecated. replaced by getDecl(String)
 Unit delegatesTo()
           
 java.util.List<Decl.Fxn> getAllFxns()
           
 java.util.List<Decl> getChildren()
           
 java.util.List<Decl.Config> getConfigs()
           
 Decl.Fxn getCreator()
           
 Decl getDecl(java.lang.String name)
          Get the named declaration from this unit.
 java.util.List<Decl> getDecls()
           
 java.util.Set<Unit> getEmbeds()
           
 java.util.List<Decl.Fxn> getFxns()
           
 java.util.List<Unit> getInherits()
           
 java.util.List<Decl.Fxn> getInternFxns()
           
 java.lang.String getPkgName()
           
 java.util.List<Unit> getProxies()
           
 java.lang.String getQualName()
           
 Unit getSuper()
           
 java.util.Set<Unit> getUses()
           
 java.lang.String getXmlTag()
           
 boolean hasCreateArgs()
           
 boolean hasCustHdr()
           
 boolean hasInstObj()
           
 boolean isForwarding()
           
 boolean isHeir()
           
 boolean isProxy()
           
 boolean isSized()
           
 boolean needsRuntime()
           
 java.lang.String queryFacet(java.lang.String tName)
          Query unit for the specified facet type
 
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
 

Method Detail

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