rs.sol.soloist.server.uml.concepts.reflection
Interface IMultiplicityElement

All Superinterfaces:
rs.sol.soloist.server.uml.concepts.IElement, IMElement
All Known Subinterfaces:
IProperty, IStructuralFeature

public interface IMultiplicityElement
extends IMElement

Abstract generalization of multiplicity elements.


Method Summary
 boolean conformsTo(IMultiplicityElement me)
          Does this Multiplicity Element conform to the given one?
 int getLowerBound()
          Returns the lower multiplicity bound of this Multiplicity Element.
 int getUpperBound()
          Returns the upper multiplicity bound of this Multiplicity Element.
 boolean includesCardinality(int c)
          Is the given cardinality allowed by the multiplicity?
 boolean includesMultiplicity(IMultiplicityElement me)
          Is the given multiplicity included in this multiplicity?
 boolean isLimited()
          Is there an upper bound of cardinality?
 boolean isMultiValued()
          Is this Multiplicity Element multi-valued? It is if its upper bound is greater than 1.
 boolean isOrdered()
          Is this Multiplicity Element ordered?
 boolean isSingleValued()
          Is this Multiplicity Element single-valued? It is if its upper bound is 1.
 boolean isUnique()
          Is this Multiplicity Element unique?
 boolean isUnlimited()
          Isn't there an upper bound of cardinality?
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IMElement
getOwnedElements, getOwner, getStereotype, getStereotypeAsText, getTaggedValue
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement
accept, accept, isKindOf, isModelElement, isRTElement
 

Method Detail

isSingleValued

boolean isSingleValued()
                       throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Multiplicity Element single-valued? It is if its upper bound is 1.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isMultiValued

boolean isMultiValued()
                      throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Multiplicity Element multi-valued? It is if its upper bound is greater than 1.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getLowerBound

int getLowerBound()
                  throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the lower multiplicity bound of this Multiplicity Element.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isLimited

boolean isLimited()
                  throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is there an upper bound of cardinality?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isUnlimited

boolean isUnlimited()
                    throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Isn't there an upper bound of cardinality?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getUpperBound

int getUpperBound()
                  throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the upper multiplicity bound of this Multiplicity Element. If the element is unlimited, returns -1.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

includesMultiplicity

boolean includesMultiplicity(IMultiplicityElement me)
                             throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is the given multiplicity included in this multiplicity?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

includesCardinality

boolean includesCardinality(int c)
                            throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is the given cardinality allowed by the multiplicity?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isOrdered

boolean isOrdered()
                  throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Multiplicity Element ordered?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isUnique

boolean isUnique()
                 throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Multiplicity Element unique?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

conformsTo

boolean conformsTo(IMultiplicityElement me)
                   throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Does this Multiplicity Element conform to the given one?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException