public interface GeObject extends Comparable
| Modifier and Type | Method and Description |
|---|---|
Object |
getId()
Id of the object
|
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.
|
default Property |
getProperty(String name)
Gets a property by name.
|
default Property |
getProperty(String key,
String name)
Gets a property by key and 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.
|
default Value |
getPropertyValue(String name)
Convenience method to retrieve the first value of the property with the given name.
|
default Value |
getPropertyValue(String name,
int index)
Gets the nth property value of the named property.
|
default Value |
getPropertyValue(String key,
String name)
Convenience method to retrieve the first value of the property with the given name.
|
default Value |
getPropertyValue(String key,
String name,
int index)
Gets the nth property value of the named property.
|
default Iterable<Value> |
getPropertyValues(String name)
an Iterable of all the property values with the given name on this element that you have access to based on the authorizations
used to retrieve the element.
|
default Iterable<Value> |
getPropertyValues(String key,
String name)
an Iterable of all the property values with the given name and key on this element that you have access to based on the authorizations
used to retrieve the element.
|
compareToObject getId()
Iterable<Property> getProperties()
default Property getProperty(String name)
name - the name of the property.default Value getPropertyValue(String name)
name - The name of the property to retrievedefault Property getProperty(String key, String name)
key - the key of the property.name - the name of the property.Property getProperty(String key, String name, Visibility visibility)
key - the key of the property.name - the name of the property.visibility - The visibility of the property to get.Property getProperty(String name, Visibility visibility)
name - the name of the property.visibility - The visibility of the property to get.Iterable<Property> getProperties(String name)
name - The name of the property to retrieveIterable<Property> getProperties(String key, String name)
key - The property keyname - The name of the property to retrievedefault Iterable<Value> getPropertyValues(String name)
name - The name of the property to retrievedefault Iterable<Value> getPropertyValues(String key, String name)
key - The property keyname - The name of the property to retrievedefault Value getPropertyValue(String key, String name)
key - The key of the propertyname - The name of the property to retrievedefault Value getPropertyValue(String name, int index)
name - The name of the property to retrieve.index - The zero based index into the values.default Value getPropertyValue(String key, String name, int index)
key - The property keyname - The name of the property to retrieve.index - The zero based index into the values.Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.