|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Model.InfoImpl
de.interactive_instruments.ShapeChange.Model.ClassInfoImpl
public abstract class ClassInfoImpl
Field Summary | |
---|---|
protected int |
category
Category of the class according to ISO 19136 (and ShapeChange extensions) |
protected List<ImageMetadata> |
diagrams
|
protected int |
processed
Bit mask for target types for which the class has been processed |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation |
Constructor Summary | |
---|---|
ClassInfoImpl()
|
Method Summary | |
---|---|
boolean |
asCharacterString()
If a < |
boolean |
asDictionary()
Find out if this class has to be output as a dictionary. |
boolean |
asDictionaryGml33()
Find out if this class has to be output as a dictionary. |
boolean |
asGroup()
If a < |
int |
category()
Return the category of the class. |
boolean |
checkSupertypes(int cat)
This is supposed to find out, whether the given category 'cat' applied in 'this' class complies to the categories of all its base classes. |
String |
encodingRule(String platform)
Return the encoding rule relevant on the class, given the platform |
void |
establishCategory()
Establish category. |
void |
fixIfCategoryIsUnknown()
Fix the category of a class, which from its stereotypes alone has not been assigned UNKONWN. |
String |
fullName()
Fully qualified UML name. |
List<ImageMetadata> |
getDiagrams()
|
boolean |
hasConstraint(String name)
Find out whether this class owns a constraint of the given name. |
boolean |
includeByValuePropertyType()
Determine whether a property type shall be included in the schema for the object type that does not support Xlinks but requires encoding the property value inline. |
boolean |
includePropertyType()
Determine whether a standard property type shall be included in the schema. |
boolean |
inSchema(PackageInfo pi)
Check whether the class and the package pi are part of the same schema (= XML namespace). |
boolean |
isCollection()
This predicate determines if the class is a collection. |
boolean |
isKindOf(String supertype)
|
boolean |
isSubtype(ClassInfo ci)
Determine whether this type is a direct or indirect subtype of the argument type. |
boolean |
isUnionDirect()
Special case of a < |
String |
ns()
|
String |
nsabr()
|
void |
postprocessAfterLoadingAndValidate()
Postprocess the class to execute any actions that require that the complete model has been loaded. |
boolean |
processed(int t)
Check if the class has been processed already for a target type (the target types are bit masked). |
void |
processed(int t,
boolean p)
Set that the class has been processed already for a target type (the target types are bit masked). |
String |
qname()
Return the namespace-prefixed class name. |
void |
setDiagrams(List<ImageMetadata> diagrams)
|
boolean |
suppressed()
Determine whether this is a 'suppressed' class. |
ClassInfo |
unsuppressedSupertype(boolean permitAbstract)
Find the next direct or indirect superclass of this class which is not suppressed. |
String |
xmlSchemaType()
Return the XML schema type corresponding to the class. |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation, matches, stereotype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.ClassInfo |
---|
baseClass, constraints, hasNilReason, isAbstract, isAssocClass, isLeaf, operation, pkg, properties, property, subtypes, supertypes |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info |
---|
aliasName, definition, description, documentation, id, matches, model, name, options, result, stereotype, stereotypes, taggedValue, taggedValues, taggedValues |
Field Detail |
---|
protected int category
protected int processed
protected List<ImageMetadata> diagrams
Constructor Detail |
---|
public ClassInfoImpl()
Method Detail |
---|
public String nsabr()
public String ns()
public String encodingRule(String platform)
encodingRule
in interface Info
encodingRule
in class InfoImpl
public String xmlSchemaType()
xmlSchemaType
in interface ClassInfo
public boolean includeByValuePropertyType()
includeByValuePropertyType
in interface ClassInfo
public boolean includePropertyType()
includePropertyType
in interface ClassInfo
public boolean isCollection()
isCollection
in interface ClassInfo
public boolean asDictionary()
asDictionary
in interface ClassInfo
public boolean asDictionaryGml33()
asDictionaryGml33
in interface ClassInfo
public boolean asGroup()
asGroup
in interface ClassInfo
public boolean asCharacterString()
asCharacterString
in interface ClassInfo
public void establishCategory() throws ShapeChangeAbortException
ShapeChangeAbortException
public int category()
category
in interface ClassInfo
public void fixIfCategoryIsUnknown()
public boolean inSchema(PackageInfo pi)
inSchema
in interface ClassInfo
public String qname()
qname
in interface ClassInfo
public boolean processed(int t)
processed
in interface ClassInfo
public void processed(int t, boolean p)
processed
in interface ClassInfo
public boolean checkSupertypes(int cat)
checkSupertypes
in interface ClassInfo
public boolean isSubtype(ClassInfo ci)
isSubtype
in interface ClassInfo
public boolean isKindOf(String supertype)
isKindOf
in interface ClassInfo
public boolean suppressed()
suppressed
in interface ClassInfo
public ClassInfo unsuppressedSupertype(boolean permitAbstract)
unsuppressedSupertype
in interface ClassInfo
public boolean hasConstraint(String name)
hasConstraint
in interface ClassInfo
public String fullName()
Info
fullName
in interface Info
Info.fullName()
public void postprocessAfterLoadingAndValidate()
postprocessAfterLoadingAndValidate
in interface Info
postprocessAfterLoadingAndValidate
in class InfoImpl
public boolean isUnionDirect()
ClassInfo
isUnionDirect
in interface ClassInfo
public List<ImageMetadata> getDiagrams()
getDiagrams
in interface ClassInfo
null
if no diagrams are availablepublic void setDiagrams(List<ImageMetadata> diagrams)
setDiagrams
in interface ClassInfo
diagrams
- metadata about the diagrams relevant for this class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |