org.eclipse.ocl.examples.pivot.values.impl
Class StringValueImpl
java.lang.Object
  
org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
      
org.eclipse.ocl.examples.pivot.values.impl.StringValueImpl
- All Implemented Interfaces: 
 - StringValue, Value
 
public class StringValueImpl
- extends AbstractValue
- implements StringValue
  
 
 
 
 
| 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 | 
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue | 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface org.eclipse.ocl.examples.pivot.values.Value | 
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue | 
 
StringValueImpl
public StringValueImpl(ValueFactory valueFactory,
                       java.lang.String value)
asObject
public java.lang.Object asObject()
- Specified by:
 asObject in interface Value
 
 
asString
public java.lang.String asString()
- Specified by:
 asString in interface Value- Overrides:
 asString in class AbstractValue
 
 
asStringValue
public StringValue asStringValue()
- Specified by:
 asStringValue in interface Value- Overrides:
 asStringValue in class AbstractValue
 
 
asValidValue
public Value asValidValue()
- Specified by:
 asValidValue in interface Value
 
 
compareTo
public int compareTo(StringValue o)
 
 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equals in class java.lang.Object
 
 
getType
public Type getType(TypeManager typeManager,
                    Type staticType)
- Specified by:
 getType in interface Value
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class java.lang.Object
 
 
stringValue
public java.lang.String stringValue()
- Specified by:
 stringValue in interface StringValue
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
toString
public void toString(java.lang.StringBuffer s,
                     int sizeLimit)
- Specified by:
 toString in interface Value- Overrides:
 toString in class AbstractValue