rs.sol.soloist.server.builtindomains.builtindatatypes
Class Integer
java.lang.Object
rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
rs.sol.soloist.server.uml.commonimplementation.runtime._DataTypeInstance
rs.sol.soloist.server.javaimpl.runtime.SOLoistDataTypeInstance
rs.sol.soloist.server.builtindomains.builtindatatypes.InstanceOfDataType
rs.sol.soloist.server.builtindomains.builtindatatypes.InstanceOfPrimitiveType
rs.sol.soloist.server.builtindomains.builtindatatypes.Integer
- All Implemented Interfaces:
- java.lang.Comparable<Integer>, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IDataTypeInstance, IPrimitiveTypeInstance, IRTElement
public class Integer
- extends InstanceOfPrimitiveType
- implements java.lang.Comparable<Integer>
Constructor Summary |
Integer()
Creates a new Integer instance. |
Integer(int value)
Creates a new Integer instance.
Please, use valueOf(int) instead. |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistDataTypeInstance |
addAttributeValue, getAttributeValue, getDataType, getMyID, getSlot, getSlots, isEqualTo, setDataType, setMyID |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._DataTypeInstance |
getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isMarkedAsDeleted, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
conformsTo, constructor, copySlots, copySlots, destroy, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValues, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
conformsTo, constructor, copySlots, copySlots, destroy, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValues, getClassifier, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMyID, getSlot, getSlot, getSlot, getSlot, getSlots, isClassInstance, isDataTypeInstance, isDirectInstanceOf, isDirectInstanceOf, isEqualTo, isInstanceOf, isInstanceOf, isMarkedAsDeleted, markAsDeleted |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
isKindOf, isModelElement, isRTElement |
FQ_TYPE_NAME
public static final java.lang.String FQ_TYPE_NAME
- See Also:
- Constant Field Values
CLASSIFIER
public static final IPrimitiveType CLASSIFIER
DEFAULT
public static Integer DEFAULT
Integer
public Integer()
- Creates a new Integer instance. Equivalent to
new Integer(0)
Please, use valueOf(int)
instead.
Integer
public Integer(int value)
- Creates a new Integer instance.
Please, use valueOf(int)
instead.
fromString
public static Integer fromString(java.lang.String str)
fromLiteral
public static Integer fromLiteral(java.lang.String str)
valueOf
public static Integer valueOf(int i)
makeClone
public IClassifierInstance makeClone()
- Description copied from interface:
IClassifierInstance
- Clones this Classifier Instance.
- Specified by:
makeClone
in interface IClassifierInstance
toInt
public int toInt()
toString
public java.lang.String toString()
- Specified by:
toString
in interface IDataTypeInstance
- Overrides:
toString
in class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
getSQLString
public java.lang.String getSQLString()
- Specified by:
getSQLString
in interface IDataTypeInstance
- Overrides:
getSQLString
in class InstanceOfPrimitiveType
intValueSafe
public static int intValueSafe(IAttributeValue<Integer> slot)
intValue
public static java.lang.Integer intValue(ISlot<Integer> slot)
intValue
public static java.lang.Integer intValue(Integer value)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getValue
public java.lang.Integer getValue()
- Specified by:
getValue
in interface IPrimitiveTypeInstance
- Overrides:
getValue
in class InstanceOfPrimitiveType
fromSerializable
public static Integer fromSerializable(java.io.Serializable ser)
compareTo
public int compareTo(Integer other)
- Specified by:
compareTo
in interface java.lang.Comparable<Integer>