public final class RdfsClass extends RdfsElem
invalidCharsPattern
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Uses all instance fields except for _model.
|
java.lang.String |
getAttrInitValue(java.lang.String attrName)
Returns cached initial value for the attribute (deduced by reflection).
|
java.util.List<org.tanjakostic.jcleancim.experimental.builder.rdfs.RdfsDifference> |
getDiffs(RdfsElem other)
Calculates differences between this instance and
other and returns them in a
list of Strings. |
java.util.List<RdfsEnumLiteral> |
getEnumLiterals() |
java.lang.String |
getKind()
Here the kinds of classes:
|
java.util.Map<java.lang.String,RdfsClass> |
getSubclasses() |
int |
hashCode()
Uses all instance fields except for _model.
|
boolean |
isCompoundClass() |
boolean |
isDatatypeClass() |
boolean |
isEnumClass() |
boolean |
isPrimitiveClass() |
boolean |
isSubclass() |
java.lang.String |
toString() |
java.lang.String |
toStringLong() |
formatDiff, getAbout, getComment, getLabel, getModel, getName, getPackage, getSchemaLabel
public boolean isSubclass()
public java.util.Map<java.lang.String,RdfsClass> getSubclasses()
public java.util.List<RdfsEnumLiteral> getEnumLiterals()
public boolean isPrimitiveClass()
public boolean isDatatypeClass()
public boolean isEnumClass()
public boolean isCompoundClass()
public java.lang.String getKind()
First level classes: non-sub (root) Enum, Datatype, Compound, Primitive (leaf) Other (leaf) Sub-class: sub Deepest sub-class: sub (leaf)
public java.lang.String getAttrInitValue(java.lang.String attrName)
attrName
- public java.lang.String toStringLong()
toStringLong
in class RdfsElem
public int hashCode()
RdfsElem
public boolean equals(java.lang.Object obj)
RdfsElem
public final java.util.List<org.tanjakostic.jcleancim.experimental.builder.rdfs.RdfsDifference> getDiffs(RdfsElem other)
RdfsElem
other
and returns them in a
list of Strings. While RdfsElem.equals(Object)
method ignores some known differences between
elements in different dialects, this method catches them all.
Implementation note: Subclasses that override this method are expected to first call super.runDiff().
Copyright 2009-2016 Tatjana (Tanja) Kostic