be.destin.skos.core
Class Url
java.lang.Object
be.destin.skos.core.Url
- All Implemented Interfaces:
- StatusInterface, java.io.Serializable, org.openrdf.model.Literal, org.openrdf.model.Value
public class Url
- extends java.lang.Object
- implements org.openrdf.model.Literal, StatusInterface
- See Also:
- Serialized Form
Constructor Summary |
Url()
|
Url(java.lang.String language,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Url
public Url()
Url
public Url(java.lang.String language,
java.lang.String value)
newValid
public static Url newValid(java.lang.String language,
java.lang.String value)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface org.openrdf.model.Literal
- Overrides:
equals
in class java.lang.Object
getLang
public java.lang.String getLang()
- Returns:
- the key
getValue
public java.lang.String getValue()
- Returns:
- the value
setLang
public void setLang(java.lang.String key)
- Parameters:
key
- the key to set
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- the value to set
getConfigURL
public static java.lang.String getConfigURL(java.util.Properties properties,
java.lang.String aProp)
getStatus
public java.lang.String getStatus()
- Specified by:
getStatus
in interface StatusInterface
setStatus
public void setStatus(java.lang.String aStatus)
- Specified by:
setStatus
in interface StatusInterface
getCurrentStatus
public Status getCurrentStatus()
- Specified by:
getCurrentStatus
in interface StatusInterface
setCurrentStatus
public void setCurrentStatus(Status status)
- Specified by:
setCurrentStatus
in interface StatusInterface
toRdfObjectUrl
public java.lang.String toRdfObjectUrl()
- Specified by:
toRdfObjectUrl
in interface StatusInterface
toJavaScriptParameters
public java.lang.String toJavaScriptParameters()
- Specified by:
toJavaScriptParameters
in interface StatusInterface
hashCode
public int hashCode()
- Specified by:
hashCode
in interface org.openrdf.model.Literal
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Returns the label of the literal.
- Overrides:
toString
in class java.lang.Object
stringValue
public java.lang.String stringValue()
- Specified by:
stringValue
in interface org.openrdf.model.Value
getDatatype
public org.openrdf.model.URI getDatatype()
- Specified by:
getDatatype
in interface org.openrdf.model.Literal
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface org.openrdf.model.Literal
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interface org.openrdf.model.Literal
booleanValue
public boolean booleanValue()
- Specified by:
booleanValue
in interface org.openrdf.model.Literal
byteValue
public byte byteValue()
- Specified by:
byteValue
in interface org.openrdf.model.Literal
calendarValue
public javax.xml.datatype.XMLGregorianCalendar calendarValue()
- Specified by:
calendarValue
in interface org.openrdf.model.Literal
decimalValue
public java.math.BigDecimal decimalValue()
- Specified by:
decimalValue
in interface org.openrdf.model.Literal
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in interface org.openrdf.model.Literal
floatValue
public float floatValue()
- Specified by:
floatValue
in interface org.openrdf.model.Literal
intValue
public int intValue()
- Specified by:
intValue
in interface org.openrdf.model.Literal
integerValue
public java.math.BigInteger integerValue()
- Specified by:
integerValue
in interface org.openrdf.model.Literal
longValue
public long longValue()
- Specified by:
longValue
in interface org.openrdf.model.Literal
shortValue
public short shortValue()
- Specified by:
shortValue
in interface org.openrdf.model.Literal