|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProperty
A property of a Classifier.
Method Summary | |
---|---|
void |
addFirstValueToSlot(IClassifierInstance ci,
IClassifierInstance val)
Adds a new value to the Slot of the given Classifier Instance that is an instance of this Property, at the beginning. |
void |
addLastValueToSlot(IClassifierInstance ci,
IClassifierInstance val)
Adds a new value to the Slot of the given Classifier Instance that is an instance of this Property, at the end. |
void |
addValueToSlot(IClassifierInstance ci,
IClassifierInstance val)
Adds a new value to the Slot of the given Classifier Instance that is an instance of this Property. |
void |
addValueToSlotAt(IClassifierInstance ci,
IClassifierInstance val,
int at)
Adds a new value to the Slot of the given Classifier Instance that is an instance of this Property, at the given position. |
void |
clearSlot(IClassifierInstance ci)
Clears (removes all values from) the Slot of the given Classifier Instance that is an instance of this Property. |
void |
copySlot(IClassifierInstance ci,
ISlot sltFrom)
Copies the value of the given Slot sltFrom to the Slot of the given Classifier Instance that is an instance of this Property (removes all values and then assigns new ones). |
IAssociation |
getAssociation()
Returns the Association, if this is an association end. |
java.lang.String |
getInitialValue()
Returns the initial value, if this is an attribute. |
IProperty |
getOpposite()
Returns the opposite Property, if this is an association end. |
IAssociation |
getOwningAssociation()
Returns the Association that owns this end, if this is an association end. |
ISlot |
getSlot(IClassifierInstance ci)
Returns the Slot of the given Classifier Instance that is an instance of this Property. |
java.util.List<IProperty> |
getSubsettedProperties()
Returns the subsetted Properties. |
IClass |
getUMLClass()
Returns the Class that owns this Property. |
boolean |
isAssociationEnd()
Is this Property an association end? |
boolean |
isAttribute()
Is this Property an attribute (not an asociation end)? |
boolean |
isComposite()
Is this Property a composite aggregation? |
boolean |
isDerived()
Is this Property derived? |
boolean |
isDerivedUnion()
Is this Property a derived union? |
boolean |
isNavigable()
Tells whether this property (association end) is navigable. |
boolean |
isPropagatedDeletion()
Is this Property marked to propagate deletion? |
IClassifierInstance |
readFirstValueFromSlot(IClassifierInstance ci)
Reads and returns the first value from the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
readLastValueFromSlot(IClassifierInstance ci)
Reads and returns the last value from the Slot of the given Classifier Instance that is an instance of this Property. |
java.util.List<IClassifierInstance> |
readSlot(IClassifierInstance ci)
Reads and returns the entire value of the Slot of the given Classifier Instance that is an instance of this Property. |
long |
readSlotCount(IClassifierInstance ci,
IClassifierInstance val)
Reads and returns the number of occurrences of the given value in the Slot of the given Classifier Instance that is an instance of this Property. |
long |
readSlotSize(IClassifierInstance ci)
Reads and returns the current size of the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
readValueFromSlot(IClassifierInstance ci)
Reads and returns one value (the first or the only one) from the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
readValueFromSlotAt(IClassifierInstance ci,
int at)
Reads and returns the value at the given position in the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
removeFirstValueFromSlot(IClassifierInstance ci)
Removes and returns the first value from the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
removeLastValueFromSlot(IClassifierInstance ci)
Removes and returns the last value from the Slot of the given Classifier Instance that is an instance of this Property. |
void |
removeOneValueFromSlot(IClassifierInstance ci,
IClassifierInstance val)
Removes one (the first, or the only one) occurrence of the given value from the Slot of the given Classifier Instance that is an instance of this Property. |
void |
removeValueFromSlot(IClassifierInstance ci,
IClassifierInstance val)
Removes all occurrences of the given value from the Slot of the given Classifier Instance that is an instance of this Property. |
IClassifierInstance |
removeValueFromSlotAt(IClassifierInstance ci,
int at)
Removes the value from the given position in the Slot of the given Classifier Instance that is an instance of this Property and returns that value. |
void |
reorderValuesInSlot(IClassifierInstance ci,
int at1,
int at2)
Exchanges the values at the two given positions in the Slot of the given Classifier Instance that is an instance of this Property. |
void |
replaceValueInSlot(IClassifierInstance ci,
IClassifierInstance val,
IClassifierInstance newVal)
Replaces one (the first, or the only one) occurrence of the given value in the Slot of the given Classifier Instance that is an instance of this Property, with the given new value. |
void |
setSlot(IClassifierInstance ci,
IClassifierInstance val)
Assigns the given value (removes all values and then assigns the new one) to the Slot of the given Classifier Instance that is an instance of this Property. |
void |
setSlot(IClassifierInstance ci,
java.util.List<IClassifierInstance> val)
Assigns the given value (removes all values and then assigns new ones) to the Slot of the given Classifier Instance that is an instance of this Property. |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IStructuralFeature |
---|
isReadOnly |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IFeature |
---|
getFeaturingClassifier, isStatic |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IMultiplicityElement |
---|
conformsTo, getLowerBound, getUpperBound, includesCardinality, includesMultiplicity, isLimited, isMultiValued, isOrdered, isSingleValued, isUnique, isUnlimited |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.ITypedElement |
---|
canAccept, getType, getTypeFQName, getTypeUQName |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.INamedElement |
---|
getFQName, getNamespace, getUQName, getVisibility |
Method Detail |
---|
boolean isAttribute() 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
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
For composite association ends, it always is.
rs.sol.soloist.server.uml.exceptions.RequestFailedException
boolean isComposite() 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.util.List<IProperty> getSubsettedProperties() 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
IAssociation getOwningAssociation() throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.RequestFailedException
java.lang.String getInitialValue()
ISlot getSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns null if there is no such Slot.
rs.sol.soloist.server.uml.exceptions.RequestFailedException
long readSlotSize(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readSlotSize(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
long readSlotCount(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readSlotCount(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
java.util.List<IClassifierInstance> readSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance readValueFromSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readValueFromSlot(getSlot()).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance readValueFromSlotAt(IClassifierInstance ci, int at) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readValueFromSlotAt(getSlot(),at).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance readFirstValueFromSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readFirstValueFromSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance readLastValueFromSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.readLastValueFromSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void clearSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.clearSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void removeValueFromSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.removeValueFromSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void removeOneValueFromSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.removeOneValueFromSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance removeValueFromSlotAt(IClassifierInstance ci, int at) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.removeValueFromSlotAt(getSlot(ci),at).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance removeFirstValueFromSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.removeFirstValueFromSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
IClassifierInstance removeLastValueFromSlot(IClassifierInstance ci) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.removeLastValueFromSlot(getSlot(ci)).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void setSlot(IClassifierInstance ci, java.util.List<IClassifierInstance> val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.setSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void setSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.setSlot(getSlot(ci),{val}).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addValueToSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.addValueToSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addValueToSlotAt(IClassifierInstance ci, IClassifierInstance val, int at) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.addValueToSlotAt(getSlot(ci),val,at).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addFirstValueToSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.addFirstValueToSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void addLastValueToSlot(IClassifierInstance ci, IClassifierInstance val) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.addLastValueToSlot(getSlot(ci),val).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void reorderValuesInSlot(IClassifierInstance ci, int at1, int at2) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Position -1 indicates the tailing (last) position.
Always simply calls Actions::Action.reorderValuesInSlot(getSlot(ci),at1,at2).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void replaceValueInSlot(IClassifierInstance ci, IClassifierInstance val, IClassifierInstance newVal) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.replaceValueInSlot(getSlot(ci),val,newVal).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
void copySlot(IClassifierInstance ci, ISlot sltFrom) throws rs.sol.soloist.server.uml.exceptions.RequestFailedException, rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Always simply calls Actions::Action.copySlot(getSlot(ci),sltFrom).
rs.sol.soloist.server.uml.exceptions.RequestFailedException
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
boolean isNavigable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |