|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISlot<T extends IClassifierInstance>
A runtime manifestation (an instance of) a Property. Can be an Attribute or an Association End.
Method Summary | |
---|---|
void |
add(T val)
Adds a new value to this Slot. |
void |
addAt(T val,
int at)
Adds a new value to this Slot at the given position. |
void |
addFirst(T val)
Adds a new value to this Slot at the beginning. |
void |
addLast(T val)
Adds a new value to this Slot at the end. |
T |
at(int at)
Reads and returns the value at the given position in this Slot. |
boolean |
canAccept(IClassifierInstance val)
Can this Slot accept the given value? It can if the value is of the proper type. |
void |
clear()
Clears (removes all values from) this Slot. |
boolean |
conformsTo(ISlot<?> slt)
Does this Slot conform to the given one? Relies on the same operation of Slots' Properties. |
void |
copy(ISlot<? extends T> sltFrom)
Copies the value of the given Slot sltFrom to this Slot (removes all values and then assigns new ones). |
long |
count(T val)
Reads and returns the number of occurrences of the given value in this Slot. |
T |
first()
Reads and returns the first value from this Slot. |
IAssociation |
getAssociation()
Returns the Association of the Property of this Slot, if it is an association end. |
IClassifier |
getClassifier()
Returns the Classifier that owns the Property of this Slot. |
java.lang.String |
getFQName()
Returns the fully qualified name of the Slot's Property as a Named Element. |
int |
getLowerBound()
Returns the lower multiplicity bound of the Property of this Slot as a Multiplicity Element. |
IProperty |
getOpposite()
Returns the opposite Property of the Property of this Slot, if it is an association end. |
IClassifierInstance |
getOwnerInstance()
Returns the Classifier Instance that owns this Slot. |
IProperty |
getProperty()
Returns the Property of the UML model whose instance is this Slot. |
IType |
getType()
Returns the Type of the Property of this Slot as a Typed Element. |
java.lang.String |
getTypeFQName()
Returns the fully qualified name of the Type of the Property of this Slot as a Typed Element. |
java.lang.String |
getTypeUQName()
Returns the unqualified name of the Type of the Property of this Slot as a Typed Element. |
IClass |
getUMLClass()
Returns the Class that owns the Property of this Slot. |
int |
getUpperBound()
Returns the upper multiplicity bound of the Property of this Slot as a Multiplicity Element. |
java.lang.String |
getUQName()
Returns the unqualified name of the Slot's Property as a Named Element. |
VisibilityKind |
getVisibility()
Returns the visibility of the Slot's Property as a Named Element. |
boolean |
includesCardinality(int c)
Is the given cardinality allowed by the multiplicity? |
boolean |
isAssociationEnd()
Is this Slot an instance of an association end? |
boolean |
isAttributeValue()
Is this Slot an Attribute Value (instance of an attribute)? |
boolean |
isComposite()
Is the Property of this Slot a composite aggregation? |
boolean |
isDerived()
Is the Property of this Slot derived? |
boolean |
isDerivedUnion()
Is the Property of this Slot a derived union? |
boolean |
isLimited()
Is there an upper bound of cardinality? |
boolean |
isMultiValued()
Is the Property of this Slot as a Multiplicity Element multi-valued? It is if its upper bound is greater than 1. |
boolean |
isOrdered()
Is the Property of this Slot ordered? |
boolean |
isPropagatedDeletion()
Is the Property of this Slot marked to propagate deletion? For composite association ends, it always is. |
boolean |
isReadOnly()
Is the Property of this Slot read-only (cannot be modified)? |
boolean |
isSingleValued()
Is the Property of this Slot as a Multiplicity Element single-valued? It is if its upper bound is 1. |
boolean |
isStatic()
Is the Property of this Slot static (has classifier scope)? |
boolean |
isUnique()
Is the Property of this Slot unique? |
boolean |
isUnlimited()
Isn't there an upper bound of cardinality? |
T |
last()
Reads and returns the last value from this Slot. |
java.util.List<T> |
read()
Reads and returns the entire value of this Slot. |
void |
remove(T val)
Removes all occurrences of the given value from this Slot. |
T |
removeAt(int at)
Removes the value from the given position in this Slot and returns that value. |
T |
removeFirst()
Removes and returns the first value from this Slot. |
T |
removeLast()
Removes and returns the last value from this Slot. |
void |
removeOne(T val)
Removes one (the first, or the only one) occurrence of the given value from this Slot. |
void |
reorder(int at1,
int at2)
Exchanges the values at the two given positions in this Slot. |
void |
replace(T val,
T newVal)
Replaces one (the first, or the only one) occurrence of the given value in this Slot with the given new value. |
void |
set(java.util.List<? extends T> val)
Assigns the given value (removes all values and then assigns new ones) to this Slot. |
void |
set(T val)
Assigns the given value (removes all values and then assigns the new one) to this Slot. |
long |
size()
Reads and returns the current size of this Slot. |
T |
val()
Reads and returns one value (the first or the only one) from this Slot. |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement |
---|
getMElement, hasIdentity |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
---|
accept, accept, isKindOf, isModelElement, isRTElement |
Method Detail |
---|
boolean isAttributeValue() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isAssociationEnd() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IClassifierInstance getOwnerInstance() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IProperty getProperty() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IClassifier getClassifier() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IClass getUMLClass() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
java.lang.String getFQName() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
java.lang.String getUQName() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
VisibilityKind getVisibility() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isStatic() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isReadOnly() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IType getType() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
java.lang.String getTypeFQName() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
java.lang.String getTypeUQName() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isSingleValued() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isMultiValued() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
int getLowerBound() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isLimited() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isUnlimited() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
int getUpperBound() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean includesCardinality(int c) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean conformsTo(ISlot<?> slt) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean canAccept(IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isOrdered() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isUnique() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isDerived() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isDerivedUnion() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isPropagatedDeletion() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isComposite() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IProperty getOpposite() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
IAssociation getAssociation() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
long size() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
long count(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
java.util.List<T> read() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T val() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T at(int at) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T first() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T last() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void clear() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void remove(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void removeOne(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T removeAt(int at) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T removeFirst() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
T removeLast() throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void set(java.util.List<? extends T> val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void set(T val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void add(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addAt(T val, int at) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addFirst(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addLast(T val) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void reorder(int at1, int at2) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void replace(T val, T newVal) throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void copy(ISlot<? extends T> sltFrom) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |