Package com.complexible.stardog.metadata
Class MetaProperty.Builder<T,P extends MetaProperty<T>>
- java.lang.Object
-
- com.complexible.stardog.metadata.MetaProperty.Builder<T,P>
-
- Enclosing class:
- MetaProperty<T>
public static class MetaProperty.Builder<T,P extends MetaProperty<T>> extends java.lang.Object
The builder class for building an option instance.- Author:
- Evren Sirin
-
-
Method Summary
-
-
-
Method Detail
-
secure
public MetaProperty.Builder<T,P> secure()
-
nonsecure
public MetaProperty.Builder<T,P> nonsecure()
Mark this property as non-secure which means it will not require database metadata permissions to read its value. Database read/write permissions will still be required to read its value. Database metadata write permission is required to update any property regardless of this value.
-
byteIO
public MetaProperty.Builder<T,P> byteIO(com.complexible.stardog.metadata.ByteIO<T> theByteIO)
-
textIO
public MetaProperty.Builder<T,P> textIO(com.complexible.stardog.metadata.TextIO<T> theTextIO)
-
graphIO
public MetaProperty.Builder<T,P> graphIO(com.complexible.stardog.metadata.GraphIO<T> theGraphIO)
-
readable
public MetaProperty.Builder<T,P> readable()
-
creatable
public MetaProperty.Builder<T,P> creatable()
-
writable
public MetaProperty.Builder<T,P> writable()
-
writableWhileOnline
public MetaProperty.Builder<T,P> writableWhileOnline()
-
server
public MetaProperty.Builder<T,P> server()
-
database
public MetaProperty.Builder<T,P> database()
-
index
public MetaProperty.Builder<T,P> index()
-
diskIndex
public MetaProperty.Builder<T,P> diskIndex()
-
memoryIndex
public MetaProperty.Builder<T,P> memoryIndex()
-
temporary
public MetaProperty.Builder<T,P> temporary()
Marks this property as temporary. Temporary properties are never serialized and only stay in memory. This means they would not be sent from client to server either since that requires serialization.
-
label
public MetaProperty.Builder<T,P> label(java.lang.String theLabel)
-
description
public MetaProperty.Builder<T,P> description(java.lang.String theDescription)
-
category
public MetaProperty.Builder<T,P> category(java.lang.String theCategory)
-
systemDefaultValue
public MetaProperty.Builder<T,P> systemDefaultValue(T theValue)
-
possibleValues
public MetaProperty.Builder<T,P> possibleValues(java.util.Collection<T> theValues)
-
build
public P build()
-
-