/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.rdfbean.domains;
import java.util.Date;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import com.mysema.rdfbean.annotations.ClassMapping;
import com.mysema.rdfbean.annotations.Id;
import com.mysema.rdfbean.annotations.Predicate;
import com.mysema.rdfbean.model.ID;
public interface LiteralsDomain {
@ClassMapping
public static class Literals {
@Id
public ID id;
@Predicate
public int intValue;
@Predicate
public long longValue;
@Predicate
public double doubleValue;
@Predicate
public float floatValue;
@Predicate
public byte byteValue;
@Predicate
public short shortValue;
@Predicate
public Date dateValue;
@Predicate
public String stringValue;
@Predicate
public boolean booleanValue;
@Predicate
public LocalDate localDate;
@Predicate
public DateTime dateTime;
public ID getId() {
return id;
}
public int getIntValue() {
return intValue;
}
public long getLongValue() {
return longValue;
}
public double getDoubleValue() {
return doubleValue;
}
public float getFloatValue() {
return floatValue;
}
public byte getByteValue() {
return byteValue;
}
public short getShortValue() {
return shortValue;
}
public Date getDateValue() {
return dateValue;
}
public String getStringValue() {
return stringValue;
}
public boolean isBooleanValue() {
return booleanValue;
}
public DateTime getDateTime() {
return dateTime;
}
public void setDateTime(DateTime dateTime) {
this.dateTime = dateTime;
}
}
}