com.sun.enterprise.admin.cli.schemadoc
Class ClassDef

java.lang.Object
  extended by com.sun.enterprise.admin.cli.schemadoc.ClassDef

public class ClassDef
extends Object

Contains metadata information about a class


Field Summary
private  Map<String,org.jvnet.hk2.config.Attribute> attributes
           
private  String def
           
private  boolean deprecated
           
private  List<String> interfaces
           
private  Set<PropertyDesc> properties
           
private  Set<ClassDef> subclasses
           
private  Map<String,String> types
           
 
Constructor Summary
ClassDef(String def, List<String> interfaces)
           
 
Method Summary
 void addAggregatedType(String name, String type)
           
 void addAttribute(String name, org.jvnet.hk2.config.Attribute annotation)
           
 void addProperty(PropertyDesc prop)
           
 void addSubclass(ClassDef classDef)
           
 boolean equals(Object o)
           
 Map<String,String> getAggregatedTypes()
           
 Map<String,org.jvnet.hk2.config.Attribute> getAttributes()
           
 String getDef()
           
 List<String> getInterfaces()
           
 Set<PropertyDesc> getProperties()
           
 Set<ClassDef> getSubclasses()
           
 String getXmlName()
           
 int hashCode()
           
 boolean isDeprecated()
           
 void removeAttribute(String name)
           
 void setDeprecated(boolean deprecated)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

def

private final String def

interfaces

private List<String> interfaces

subclasses

private Set<ClassDef> subclasses

types

private Map<String,String> types

attributes

private Map<String,org.jvnet.hk2.config.Attribute> attributes

deprecated

private boolean deprecated

properties

private Set<PropertyDesc> properties
Constructor Detail

ClassDef

public ClassDef(String def,
                List<String> interfaces)
Method Detail

getDef

public String getDef()

getInterfaces

public List<String> getInterfaces()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

addSubclass

public void addSubclass(ClassDef classDef)

getSubclasses

public Set<ClassDef> getSubclasses()

addAggregatedType

public void addAggregatedType(String name,
                              String type)

getAggregatedTypes

public Map<String,String> getAggregatedTypes()

toString

public String toString()
Overrides:
toString in class Object

getAttributes

public Map<String,org.jvnet.hk2.config.Attribute> getAttributes()

addAttribute

public void addAttribute(String name,
                         org.jvnet.hk2.config.Attribute annotation)

removeAttribute

public void removeAttribute(String name)

isDeprecated

public boolean isDeprecated()

setDeprecated

public void setDeprecated(boolean deprecated)

getProperties

public Set<PropertyDesc> getProperties()

addProperty

public void addProperty(PropertyDesc prop)

getXmlName

public String getXmlName()


Copyright © 2012 GlassFish Community. All Rights Reserved.