|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectschema2template.example.odf.SourceCodeBaseClass
public class SourceCodeBaseClass
Encapsulates the name of the java base class
Convention: Unique key is the name of the baseclass. So name is used for compareTo(o), equals(o) and hashCode().
Constructor Summary | |
---|---|
protected |
SourceCodeBaseClass(OdfModel odfmodel,
String basename,
SortedSet<PuzzlePiece> subelements)
|
Method Summary | |
---|---|
int |
compareTo(SourceCodeBaseClass o)
|
boolean |
equals(Object o)
|
PuzzlePieceSet |
getBaseAttributes()
Returns the attribute Definitions which are shared by all subclasses of this JavaBaseClass |
PuzzlePieceSet |
getElements()
Returns the element Definitions which are subclassing this JavaBaseClass |
String |
getLocalName()
Get only localname |
String |
getNamespace()
Get only namespace |
String |
getQName()
Get the QName (i.e. |
int |
hashCode()
|
boolean |
isStylable()
Determines whether all subclasses of this JavaBaseClass are stylable or not stylable. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SourceCodeBaseClass(OdfModel odfmodel, String basename, SortedSet<PuzzlePiece> subelements)
Method Detail |
---|
public int compareTo(SourceCodeBaseClass o)
compareTo
in interface Comparable<SourceCodeBaseClass>
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getLocalName()
QNamed
getLocalName
in interface QNamed
public String getQName()
QNamed
getQName
in interface QNamed
public String getNamespace()
QNamed
getNamespace
in interface QNamed
public String toString()
toString
in class Object
public PuzzlePieceSet getElements()
public PuzzlePieceSet getBaseAttributes()
public boolean isStylable()
RuntimeException
- if some subclasses are stylable and some are not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |