Package cz.cvut.kbss.ontodriver.model
Class Value<T>
java.lang.Object
cz.cvut.kbss.ontodriver.model.Value<T>
Represents assertion value.
This class is a base for both property and class assertion values.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Value
-
-
Method Details
-
getValue
Gets this value.- Returns:
- Value of the appropriate type
-
stringValue
Gets this value as string.- Returns:
- Value as string
-
nullValue
Returns a Null object for Value.Since Value requires a non-null value, this method returns a predefined object which represents a null (empty) value.
- Returns:
- Null value
- See Also:
-
hashCode
public int hashCode() -
equals
-
toString
-