public abstract class ExtendedDataRowBase extends Object implements ExtendedDataRow
ELEMENT_ID, ELEMENT_TYPE, ROW_ID, TABLE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedDataRowBase(FetchHints fetchHints) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
protected Property |
getElementIdProperty() |
protected Property |
getElementTypeProperty() |
FetchHints |
getFetchHints()
Fetch hints used to get this row.
|
abstract ExtendedDataRowId |
getId()
Id of the row
|
abstract Iterable<Property> |
getProperties()
an Iterable of all the properties on this element that you have access to based on the authorizations
used to retrieve the element.
|
Iterable<Property> |
getProperties(String name)
an Iterable of all the properties with the given name on this element that you have access to based on the authorizations
used to retrieve the element.
|
Iterable<Property> |
getProperties(String key,
String name)
an Iterable of all the properties with the given name and key on this element that you have access to based on the authorizations
used to retrieve the element.
|
Property |
getProperty(String name)
Gets a property by name.
|
Property |
getProperty(String key,
String name,
Visibility visibility)
Gets a property by key, name, and visibility.
|
Property |
getProperty(String name,
Visibility visibility)
Gets a property by name, and visibility.
|
Iterable<String> |
getPropertyNames()
Get the names of all the properties of this row.
|
Value |
getPropertyValue(String name)
Convenience method to retrieve the first value of the property with the given name.
|
Value |
getPropertyValue(String name,
int index)
Gets the nth property value of the named property.
|
Value |
getPropertyValue(String key,
String name)
Convenience method to retrieve the first value of the property with the given name.
|
Value |
getPropertyValue(String key,
String name,
int index)
Gets the nth property value of the named property.
|
protected Property |
getRowIdProperty() |
protected Property |
getTableNameProperty() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, getPropertyValues, getPropertyValuesprotected ExtendedDataRowBase(FetchHints fetchHints)
public abstract ExtendedDataRowId getId()
ExtendedDataRowgetId in interface ExtendedDataRowgetId in interface GeObjectpublic Iterable<String> getPropertyNames()
ExtendedDataRowgetPropertyNames in interface ExtendedDataRowpublic abstract Iterable<Property> getProperties()
GeObjectgetProperties in interface GeObjectpublic Property getProperty(String name)
GeObjectgetProperty in interface GeObjectname - the name of the property.public Value getPropertyValue(String name)
GeObjectgetPropertyValue in interface GeObjectname - The name of the property to retrievepublic Property getProperty(String key, String name, Visibility visibility)
GeObjectgetProperty in interface GeObjectkey - the key of the property.name - the name of the property.visibility - The visibility of the property to get.public Property getProperty(String name, Visibility visibility)
GeObjectgetProperty in interface GeObjectname - the name of the property.visibility - The visibility of the property to get.public Iterable<Property> getProperties(String name)
GeObjectgetProperties in interface GeObjectname - The name of the property to retrievepublic Iterable<Property> getProperties(String key, String name)
GeObjectgetProperties in interface GeObjectkey - The property keyname - The name of the property to retrievepublic Value getPropertyValue(String key, String name)
GeObjectgetPropertyValue in interface GeObjectkey - The key of the propertyname - The name of the property to retrievepublic Value getPropertyValue(String name, int index)
GeObjectgetPropertyValue in interface GeObjectname - The name of the property to retrieve.index - The zero based index into the values.public Value getPropertyValue(String key, String name, int index)
GeObjectgetPropertyValue in interface GeObjectkey - The property keyname - The name of the property to retrieve.index - The zero based index into the values.public int compareTo(Object o)
compareTo in interface Comparableprotected Property getRowIdProperty()
protected Property getTableNameProperty()
protected Property getElementIdProperty()
protected Property getElementTypeProperty()
public FetchHints getFetchHints()
ExtendedDataRowFetchHints.ALL if this is a new row.getFetchHints in interface ExtendedDataRowCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.