|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStereotypeInstance
A Stereotype instance is an instance of a IStereotype defined in a profile as stored in a Model component (e.g. artifact, method, etc...) A IStereotypeInstance is associated with the IStereotype that characterizes it. All values are stringified. It is responsible for persisting the values into the artifact.
| Field Summary | |
|---|---|
static IStereotypeInstance[] |
EMPTY_ARRAY
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.lang.String |
getAttributeValue(IStereotypeAttribute attribute)
Returns the value of the given attribute. |
java.lang.String |
getAttributeValue(java.lang.String attributeName)
Returns the value for an attribute identified by its name. |
java.lang.String[] |
getAttributeValues(IStereotypeAttribute attribute)
Returns the values for the given attribute in the case the attribute is an array attribute. |
java.lang.String[] |
getAttributeValues(java.lang.String attributeName)
Returns the value array for an attribute identified by its name. |
IStereotype |
getCharacterizingStereotype()
Returns the characterizing stereotype for this instance. |
java.lang.String |
getName()
Returns the name of this instance. |
void |
setAttributeValue(IStereotypeAttribute attribute,
java.lang.String value)
Sets the value for the given attribute. |
void |
setAttributeValues(IStereotypeAttribute attribute,
java.lang.String[] values)
Sets the values for an array attribute |
| Field Detail |
|---|
static final IStereotypeInstance[] EMPTY_ARRAY
| Method Detail |
|---|
java.lang.String getName()
void setAttributeValue(IStereotypeAttribute attribute,
java.lang.String value)
throws TigerstripeException
attribute - value -
TigerstripeException - if the attribute is not a valid attribute for the
characterizing Stereotype or if the value is invalid.
void setAttributeValues(IStereotypeAttribute attribute,
java.lang.String[] values)
throws TigerstripeException
attribute - values -
TigerstripeException - if attribute not array attribute
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
java.lang.String getAttributeValue(IStereotypeAttribute attribute)
throws TigerstripeException
attribute -
TigerstripeException - if the given attribute is not a valid attribute for the
characterizing stereotype
java.lang.String getAttributeValue(java.lang.String attributeName)
throws TigerstripeException
attributeName -
TigerstripeException
java.lang.String[] getAttributeValues(IStereotypeAttribute attribute)
throws TigerstripeException
attribute -
TigerstripeException - if attribute not array attribute
java.lang.String[] getAttributeValues(java.lang.String attributeName)
throws TigerstripeException
attributeName -
TigerstripeException - if attribute not array attributeIStereotype getCharacterizingStereotype()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||