|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.library.info.AbstractDirective net.dpml.library.info.DataDirective net.dpml.library.info.TypeDirective
The ModuleDirective class describes a module data-structure.
Constructor Summary | |
TypeDirective(Element element,
String id,
Version version)
Creation of a new type directive. |
|
TypeDirective(String name)
Creation of a new type directive. |
|
TypeDirective(String name,
Version version)
Creation of a new type directive. |
|
TypeDirective(String id,
Version version,
Properties properties)
Creation of a new generic type directive. |
Method Summary | |
boolean |
equals(Object other)
Compare this object with another for equality. |
String |
getID()
Return the type name. |
Version |
getVersion()
Return the alias version. |
int |
hashCode()
Compute the hash value. |
String |
toString()
Return a string representation of the type. |
Methods inherited from class net.dpml.library.info.DataDirective |
getElement |
Methods inherited from class net.dpml.library.info.AbstractDirective |
equals, getProperties, getProperty, hashArray, hashValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.dpml.library.Data |
getElement |
Constructor Detail |
public TypeDirective(String name)
name
- the namepublic TypeDirective(String name, Version version)
name
- the nameversion
- alias versionpublic TypeDirective(Element element, String id, Version version)
element
- DOM element defining the typeid
- the type idversion
- alias versionpublic TypeDirective(String id, Version version, Properties properties)
id
- the type idversion
- alias versionproperties
- supplimentary propertiesMethod Detail |
public String getID()
getID
in interface Type
public Version getVersion()
getVersion
in interface Type
public boolean equals(Object other)
equals
in class DataDirective
other
- the other object
public int hashCode()
hashCode
in class DataDirective
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |