public class MarkerType
extends java.lang.Object
Constructor and Description |
---|
MarkerType(org.eclipse.sphinx.emf.validation.ui.views.MarkerTypesModel model,
java.lang.String id,
java.lang.String label,
java.lang.String[] supertypeIds)
Creates a new marker type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
MarkerType[] |
getAllSubTypes() |
MarkerType[] |
getAllSupertypes()
Returns all this type's supertypes.
|
java.lang.String |
getId()
Returns the marker type id.
|
java.lang.String |
getLabel()
Returns the human-readable label for this marker type.
|
MarkerType[] |
getSubtypes()
Returns the types which have this type as a direct supertype.
|
java.lang.String[] |
getSupertypeIds()
Returns the marker type ids for this type's supertypes.
|
MarkerType[] |
getSupertypes()
Returns this type's direct supertypes.
|
int |
hashCode() |
boolean |
isSubtypeOf(MarkerType superType)
Returns whether this marker type is considered to be a subtype of the given marker type.
|
public MarkerType(org.eclipse.sphinx.emf.validation.ui.views.MarkerTypesModel model, java.lang.String id, java.lang.String label, java.lang.String[] supertypeIds)
public MarkerType[] getAllSupertypes()
public java.lang.String getId()
public java.lang.String getLabel()
public MarkerType[] getSubtypes()
public MarkerType[] getAllSubTypes()
public java.lang.String[] getSupertypeIds()
public MarkerType[] getSupertypes()
public boolean isSubtypeOf(MarkerType superType)
true
if this type is the same as (or a subtype of) the given typepublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object