Interface NodeTypeInfo
-
public interface NodeTypeInfo
A nodetype info mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
exists()
Check whether the nodetype exists.java.util.Set<java.lang.String>
getMixinSubTypes()
Get the set of mixin subtypes.java.lang.Iterable<java.lang.String>
getNamesSingleValuesProperties()
Get the names of all single-valued properties.java.lang.String
getNodeTypeName()
Get the name of the nodetype.java.util.Set<java.lang.String>
getPrimarySubTypes()
Get the set of primary subtypes.java.util.Set<java.lang.String>
getSuperTypes()
Get the set of supertypes.boolean
isMixin()
Check whether this is a mixin.
-
-
-
Method Detail
-
exists
boolean exists()
Check whether the nodetype exists.- Returns:
- true if it exists
-
getNodeTypeName
java.lang.String getNodeTypeName()
Get the name of the nodetype.- Returns:
- the fully qualified name
-
getSuperTypes
java.util.Set<java.lang.String> getSuperTypes()
Get the set of supertypes.- Returns:
- the set
-
getPrimarySubTypes
java.util.Set<java.lang.String> getPrimarySubTypes()
Get the set of primary subtypes.- Returns:
- the set
-
getMixinSubTypes
java.util.Set<java.lang.String> getMixinSubTypes()
Get the set of mixin subtypes.- Returns:
- the set
-
isMixin
boolean isMixin()
Check whether this is a mixin.- Returns:
- true if it is a mixin, false if it is a primary type
-
getNamesSingleValuesProperties
java.lang.Iterable<java.lang.String> getNamesSingleValuesProperties()
Get the names of all single-valued properties.- Returns:
- the names
-
-