org.eclipse.ocl.examples.pivot.values.impl
Class AbstractedCollectionValue
java.lang.Object
org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
org.eclipse.ocl.examples.pivot.values.impl.AbstractedCollectionValue
- All Implemented Interfaces:
- java.lang.Iterable<Value>, CollectionValue, Value
- Direct Known Subclasses:
- AbstractCollectionValue
public abstract class AbstractedCollectionValue
- extends AbstractValue
- implements CollectionValue
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
INVALID_NAME |
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractValue |
asBoolean, asBooleanValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObjectValue, asOrderedCollectionValue, asRealValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.CollectionValue |
count, excludes, excludesAll, excluding, flatten, flatten, getKind, includes, includesAll, including, intersection, intSize, iterator, maxMin, product, sort, sum, toOrderedCollectionValue, union |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
asBoolean, asBooleanValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObjectValue, asOrderedCollectionValue, asRealValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getType, getValueFactory, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue |
AbstractedCollectionValue
protected AbstractedCollectionValue(ValueFactory valueFactory)
asBagValue
public BagValue asBagValue()
- Specified by:
asBagValue
in interface Value
- Overrides:
asBagValue
in class AbstractValue
asCollection
public java.util.Collection<Value> asCollection()
- Specified by:
asCollection
in interface CollectionValue
asCollectionValue
public CollectionValue asCollectionValue()
- Specified by:
asCollectionValue
in interface Value
- Overrides:
asCollectionValue
in class AbstractValue
asList
public java.util.List<Value> asList()
- Specified by:
asList
in interface CollectionValue
asObject
public java.lang.Object asObject()
- Specified by:
asObject
in interface Value
asOrderedSetValue
public OrderedSetValue asOrderedSetValue()
- Specified by:
asOrderedSetValue
in interface Value
- Overrides:
asOrderedSetValue
in class AbstractValue
asSequenceValue
public SequenceValue asSequenceValue()
- Specified by:
asSequenceValue
in interface Value
- Overrides:
asSequenceValue
in class AbstractValue
asSetValue
public SetValue asSetValue()
- Specified by:
asSetValue
in interface Value
- Overrides:
asSetValue
in class AbstractValue
asValidValue
public Value asValidValue()
- Specified by:
asValidValue
in interface Value
getElements
protected abstract java.util.Collection<Value> getElements()
isCollectionValue
public CollectionValue isCollectionValue()
- Specified by:
isCollectionValue
in interface Value
- Overrides:
isCollectionValue
in class AbstractValue
isEmpty
public BooleanValue isEmpty()
- Specified by:
isEmpty
in interface CollectionValue
notEmpty
public BooleanValue notEmpty()
- Specified by:
notEmpty
in interface CollectionValue
size
public IntegerValue size()
- Specified by:
size
in interface CollectionValue
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public void toString(java.lang.StringBuffer s,
int lengthLimit)
- Specified by:
toString
in interface Value
- Overrides:
toString
in class AbstractValue