|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IModelComponent
A component for a Tigerstripe Model.
| Nested Class Summary | |
|---|---|
static class |
IModelComponent.EMultiplicity
An enum of the possible values for the multiplicity of an component. |
static class |
IModelComponent.EVisibility
An enum of the possible values for the visibility of a component. |
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Returns the comment (or plain-english description) associated with this model component. |
java.util.Collection<IModelComponent> |
getContainedModelComponents()
|
IModelComponent |
getContainingModelComponent()
|
java.lang.String |
getLabel()
Returns the label for this Model Component That may be displayed in the GUI. |
IModelComponentMetadata |
getMetadata()
Returns the metadata about this Artifact type |
java.lang.String |
getName()
Returns the name associated with this component. |
ITigerstripeModelProject |
getProject()
Returns the project that this Model Component belongs to. |
IModelComponent.EVisibility |
getVisibility()
Returns an integer value indicating the visibility of this component. |
boolean |
isInActiveFacet()
Returns true if this component is included in the current active facet. |
void |
setComment(java.lang.String comment)
Set the comment for this component. |
void |
setName(java.lang.String name)
Sets the name associated with this component |
void |
setVisibility(IModelComponent.EVisibility visibility)
Sets the visibility of this component. |
IStatus |
validate()
|
| Methods inherited from interface org.eclipse.tigerstripe.workbench.profile.stereotype.IStereotypeCapable |
|---|
addStereotypeInstance, getStereotypeInstanceByName, getStereotypeInstances, getStereotypeString, hasStereotypeInstance, removeStereotypeInstance, removeStereotypeInstances |
| Methods inherited from interface org.eclipse.tigerstripe.workbench.model.annotation.IAnnotationCapable |
|---|
getAnnotation, getAnnotations, getAnnotations, getAnnotations, hasAnnotations, hasAnnotations, hasAnnotations |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getComment()
void setComment(java.lang.String comment)
comment - IModelComponent.EVisibility getVisibility()
void setVisibility(IModelComponent.EVisibility visibility)
visibility -
boolean isInActiveFacet()
throws TigerstripeException
TigerstripeExceptionIStatus validate()
IModelComponentMetadata getMetadata()
ITigerstripeModelProject getProject()
throws TigerstripeException
TigerstripeException - if the project is invalid (descriptor missing, etc..)IModelComponent getContainingModelComponent()
java.util.Collection<IModelComponent> getContainedModelComponents()
java.lang.String getLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||