T
- public class Value<T> extends ObjectHolder<T>
Modifier and Type | Field and Description |
---|---|
boolean |
literal |
String |
type |
LOGGER
Constructor and Description |
---|
Value() |
Modifier and Type | Method and Description |
---|---|
String |
asSiDIF()
return me as a SiDIF String
|
static Value<?> |
getBoolean(String image) |
static Value<?> |
getCharacter(char pChar)
get a Character value
|
static Value<Date> |
getDate(Date parseDate)
get a Date value
|
static Value<Date> |
getDate(long time)
get a data value from the given long time
|
SimpleDateFormat |
getDateFormat(String format)
get the date format for the given date format description adjusted to UTC
|
static Value<?> |
getDouble(Double pDouble)
get the number for the given Double
|
static Value<?> |
getDouble(String numberString)
get a number for the given number string
|
static Value<?> |
getInteger(Integer pInteger)
get the number for the given Integer
|
static Value<?> |
getInteger(String numberString)
get a number for the given number string
|
static Value<?> |
getIRI(String iri)
get the given IRI value
|
static Value<?> |
getString(String string)
get a String value
|
static Value<Time> |
getTime(long time)
get a Time Value
|
static Value<Timestamp> |
getTimeStamp(long time)
get a TimeStamp with the given time value
|
String |
toString()
to String for this Value
|
equals, getObject, hashCode, setObject
public boolean literal
public String type
public SimpleDateFormat getDateFormat(String format)
format
- public String toString()
toString
in class ObjectHolder<T>
public String asSiDIF()
public static Value<Timestamp> getTimeStamp(long time)
time
- public static Value<Date> getDate(long time)
time
- public static Value<Date> getDate(Date parseDate)
parseDate
- public static Value<Time> getTime(long time)
time
- public static Value<?> getInteger(String numberString)
numberString
- public static Value<?> getInteger(Integer pInteger)
pInteger
- public static Value<?> getDouble(String numberString)
numberString
- public static Value<?> getDouble(Double pDouble)
pDouble
- public static Value<?> getCharacter(char pChar)
pChar
- public static Value<?> getString(String string)
string
- public static Value<?> getIRI(String iri) throws URISyntaxException
iri
- URISyntaxException
Copyright © 2017. All Rights Reserved.