public interface ObjectTypedAttributeView extends ObjectAttributeView
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean(java.lang.String name)
Reads a boolean attribute value
|
float |
readFloat(java.lang.String name)
Reads a long attribute value
|
int |
readInt(java.lang.String name)
Reads a integer attribute value
|
long |
readLong(java.lang.String name)
Reads a long attribute value
|
java.lang.String |
readString(java.lang.String name)
Reads a string attribute value
|
java.lang.String |
readText(java.lang.String name)
Read a String representation of a textual value
|
void |
writeAllAttributes(java.util.Collection<Attribute> attributes)
Write all given attributes.
|
void |
writeAttribute(Attribute attribute)
Write the given attribute.
|
void |
writeBoolean(java.lang.String name,
boolean value)
Writes a boolean valued metadata attribute
|
void |
writeBoolean(java.lang.String name,
boolean value,
boolean searchable)
Writes a boolean valued metadata attribute
|
void |
writeBoolean(java.lang.String name,
boolean value,
boolean searchable,
boolean searchabeInCDB)
Writes a boolean valued metadata attribute
|
void |
writeFloat(java.lang.String name,
float value)
Writes a float valued metadata attribute
|
void |
writeFloat(java.lang.String name,
float value,
boolean searchable)
Writes a float valued metadata attribute
|
void |
writeFloat(java.lang.String name,
float value,
boolean searchable,
boolean searchabeInCDB)
Writes a float valued metadata attribute
|
void |
writeInt(java.lang.String name,
int value)
Writes a integer valued metadata attribute
|
void |
writeInt(java.lang.String name,
int value,
boolean searchable)
Writes a integer valued metadata attribute
|
void |
writeInt(java.lang.String name,
int value,
boolean searchable,
boolean searchabeInCDB)
Writes a integer valued metadata attribute
|
void |
writeLong(java.lang.String name,
long value)
Writes a long valued metadata attribute
|
void |
writeLong(java.lang.String name,
long value,
boolean searchable)
Writes a long valued metadata attribute
|
void |
writeLong(java.lang.String name,
long value,
boolean searchable,
boolean searchabeInCDB)
Writes a long valued metadata attribute
|
void |
writeString(java.lang.String name,
java.lang.String value)
Writes a string valued metadata attribute.
|
void |
writeString(java.lang.String name,
java.lang.String value,
boolean searchable)
Writes a string valued metadata attribute.
|
void |
writeString(java.lang.String name,
java.lang.String value,
boolean searchable,
boolean searchabeInCDB)
Writes a string valued metadata attribute.
|
void |
writeText(java.lang.String name,
java.lang.String value)
Write metadata as textual value.
|
void |
writeText(java.lang.String name,
java.lang.String value,
boolean searchable,
boolean searchabeInCDB)
Write metadata as textual value.
|
java.lang.String readString(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
boolean readBoolean(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
int readInt(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
long readLong(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
float readFloat(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
java.lang.String readText(java.lang.String name) throws java.io.IOException
name
- attribute namejava.io.IOException
void writeString(java.lang.String name, java.lang.String value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributejava.io.IOException
void writeString(java.lang.String name, java.lang.String value, boolean searchable) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributejava.io.IOException
void writeString(java.lang.String name, java.lang.String value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeBoolean(java.lang.String name, boolean value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributejava.io.IOException
void writeBoolean(java.lang.String name, boolean value, boolean searchable) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributejava.io.IOException
void writeBoolean(java.lang.String name, boolean value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeInt(java.lang.String name, int value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributejava.io.IOException
void writeInt(java.lang.String name, int value, boolean searchable) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributejava.io.IOException
void writeInt(java.lang.String name, int value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeLong(java.lang.String name, long value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributejava.io.IOException
void writeLong(java.lang.String name, long value, boolean searchable) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributejava.io.IOException
void writeLong(java.lang.String name, long value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeFloat(java.lang.String name, float value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributejava.io.IOException
void writeFloat(java.lang.String name, float value, boolean searchable) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributejava.io.IOException
void writeFloat(java.lang.String name, float value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeText(java.lang.String name, java.lang.String value) throws java.io.IOException
name
- name of the attribute (attribute key)value
- textual value of the attributejava.io.IOException
void writeText(java.lang.String name, java.lang.String value, boolean searchable, boolean searchabeInCDB) throws java.io.IOException
name
- name of the attribute (attribute key)value
- textual value of the attributesearchable
- searchable flag for this attributesearchabeInCDB
- if true this attribute is searchable in cluster's contentDBjava.io.IOException
void writeAllAttributes(java.util.Collection<Attribute> attributes) throws java.io.IOException
attributes
- - A collection of Attribute
to savejava.io.IOException
void writeAttribute(Attribute attribute) throws java.io.IOException
attribute
- - The Attribute
to savejava.io.IOException