public abstract class ToOnePropertyLiteral<T,R> extends PropertyLiteral<T,R,R> implements OneValuedMetaProperty<T,R>
Type | Property and Description |
---|---|
OneValuedMetaProperty<T,R> |
asFunctional |
ManyValuedMetaProperty<T,R,Collection<R>> |
asManyValued |
Constructor and Description |
---|
ToOnePropertyLiteral(int index,
Class<T> klass,
String name) |
ToOnePropertyLiteral(int index,
String name,
URI key) |
Modifier and Type | Method and Description |
---|---|
OneValuedMetaProperty<T,R> |
asFunctionalProperty() |
ManyValuedMetaProperty<T,R,Collection<R>> |
asManyValuedProperty() |
boolean |
isManyValued() |
abstract void |
set(T object,
R value) |
void |
set(T object,
R value,
Lit lit) |
compareTo, equals, getId, getIndex, getKey, getName, getUri, hashCode, isDatatype
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
get
getIndex, getKey, getName, isDatatype
compareTo
getId, getUri
public OneValuedMetaProperty<T,R> asFunctionalProperty
public ManyValuedMetaProperty<T,R,Collection<R>> asManyValuedProperty
public abstract void set(T object, R value)
set
in interface OneValuedMetaProperty<T,R>
public void set(T object, R value, Lit lit)
set
in interface OneValuedMetaProperty<T,R>
public boolean isManyValued()
public OneValuedMetaProperty<T,R> asFunctionalProperty()
public ManyValuedMetaProperty<T,R,Collection<R>> asManyValuedProperty()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.