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, isDatatypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetgetIndex, getKey, getName, isDatatypecompareTogetId, getUriasFunctionalProperty in interface MetaProperty<T,R,R>asManyValuedProperty in interface MetaProperty<T,R,R>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()
isManyValued in interface MetaProperty<T,R,R>public OneValuedMetaProperty<T,R> asFunctionalProperty()
asFunctionalProperty in interface MetaProperty<T,R,R>public ManyValuedMetaProperty<T,R,Collection<R>> asManyValuedProperty()
asManyValuedProperty in interface MetaProperty<T,R,R>Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.