|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Style
A representation of the model object 'Style'.
The following features are supported:
StylePackage.getStyle()
Method Summary | ||
---|---|---|
java.util.List<Style> |
getAllParentStyles()
Returns the list of all parent styles that a particular style inherits from (directly and transitively). |
|
EList |
getElided()
Returns the value of the 'Elided' reference list. |
|
EList |
getKinds()
Returns the value of the 'Kinds' containment reference list. |
|
EList |
getMetakinds()
Returns the value of the 'Metakinds' containment reference list. |
|
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
|
EList |
getParent()
Returns the value of the 'Parent' reference list. |
|
java.util.List<Kind> |
getTypedElided()
Convenience method that casts the return value of getElided() into a typed List. |
|
java.util.List<Kind> |
getTypedKinds()
Convenience method that casts the return value of getKinds() into a typed List. |
|
java.util.List<MetaKind> |
getTypedMetakinds()
Convenience method that casts the return value of getMetakinds() into a typed List. |
|
java.util.List<Style> |
getTypedParent()
Convenience method that casts the return value of getParent() into a typed List. |
|
|
getVisibleKinds(java.lang.Class<T> clazz,
boolean includeElided)
Helper method for finding all of the kinds that are visible from this style. |
|
java.util.List<MetaKind> |
getVisibleMetaKinds()
Helper method for finding all of the visible meta kinds in this style and all parent styles. |
|
|
getVisibleMetaKinds(java.lang.Class<T> clazz)
Helper method for findig all of the visible meta kinds of a given type for this style and all of its parent styles. |
|
|
getVisibleMetaKinds(java.lang.Class<T> clazz,
MetaKind baseMetaKind)
Helper method for finding all of the visible meta kinds of a given type which extend from a given base meta kind for this style and all parent styles. |
|
boolean |
hasCircularInheritance()
Calculates whether or not this Style inherits from itself. |
|
boolean |
isKindVisible(Kind kind)
Helper method to determine if there is a non-eliding path to the specified kind. |
|
void |
setName(java.lang.String value)
Sets the value of the ' Name ' attribute. |
Methods inherited from interface edu.ksu.cis.cadena.core.specification.base.CalmObject |
---|
addBackReference, getBackReferences, getDeleted, getTrashCan, getUuid, removeBackReference |
Methods inherited from interface edu.ksu.cis.cadena.core.specification.property.TypeDefContainer |
---|
getAllTypeDefs, getTypeDefs, getTypedTypeDefs |
Method Detail |
---|
java.lang.String getName()
setName(String)
,
StylePackage.getStyle_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
EList getKinds()
Kind
.
StylePackage.getStyle_Kinds()
EList getMetakinds()
MetaKind
.
StylePackage.getStyle_Metakinds()
EList getParent()
Style
.
This list contains all of the styles from which this style inherit from.
StylePackage.getStyle_Parent()
EList getElided()
Kind
.
StylePackage.getStyle_Elided()
java.util.List<Style> getTypedParent()
getParent()
into a typed List.
getParent()
java.util.List<Kind> getTypedElided()
getElided()
into a typed List.
getElided()
java.util.List<Kind> getTypedKinds()
getKinds()
into a typed List.
getKinds()
java.util.List<MetaKind> getTypedMetakinds()
getMetakinds()
into a typed List.
getMetakinds()
java.util.List<Style> getAllParentStyles()
List
boolean hasCircularInheritance()
true
if the style has circular inheritance,
false
otherwise.<T extends Kind> java.util.List<T> getVisibleKinds(java.lang.Class<T> clazz, boolean includeElided)
T
- The specific type of kind to look for.clazz
- The class that matches the type of type parameter
T
includeElided
- If true, the return value will include kinds which normally
aren't visible due to elision. Otherwise, these kinds are
not included in the return value.
java.util.List<MetaKind> getVisibleMetaKinds()
getVisibleMetaKinds()
<T extends MetaKind> java.util.List<T> getVisibleMetaKinds(java.lang.Class<T> clazz)
T
- The specified type of meta kind to look forclazz
- The class that matches the type of type parameter
T
<T extends MetaKind> java.util.List<T> getVisibleMetaKinds(java.lang.Class<T> clazz, MetaKind baseMetaKind)
T
- The specified type of meta kind to look forclazz
- The class that matches the type of type parameter
T
baseMetaKind
- The base meta kind which all of the return metakinds should
extend from.
boolean isKindVisible(Kind kind)
kind
-
true
if a non-eliding path exists,
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |