◆ getCategory()
String fiftyone.pipeline.core.data.ElementPropertyMetaData.getCategory | ( | ) |
The category the property belongs to.
- Returns
- property category
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
\r\n
Defines details of a property that can be returned by a FlowElement.
String | getName ()
Get the name of the property. More...
|
FlowElement | getElement ()
Get the element which returns this property. More...
|
String | getCategory ()
The category the property belongs to. More...
|
Class<?> | getType ()
Get the type of data which the property refers to e.g. More...
|
boolean | isAvailable ()
Get whether or not the property is available in the results // todo. More...
|
List< ElementPropertyMetaData > | getItemProperties ()
This is only relevant where Type is a collection of complex objects. More...
|
boolean | getDelayExecution ()
Only relevant if the type is JavaScript. More...
|
List< String > | getEvidenceProperties ()
Get the names of any JavaScript properties that, when executed, will obtain additional evidence that can help in determining the value of this property. More...
|
String fiftyone.pipeline.core.data.ElementPropertyMetaData.getCategory | ( | ) |
The category the property belongs to.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
boolean fiftyone.pipeline.core.data.ElementPropertyMetaData.getDelayExecution | ( | ) |
Only relevant if the type is JavaScript.
Defaults to false. If set to true then the JavaScript in this property will not be executed automatically on the client device. This is used where executing the JavaScript would result in undesirable behavior. For example, attempting to access the location of the device will cause the browser to show a pop-up confirming if the user is happy too allow the website access to their location. In general, we don't want this to happen immediately when a user enters a website, but when they try to use a feature that requires location data (e.g. show restaurants near me).
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
FlowElement fiftyone.pipeline.core.data.ElementPropertyMetaData.getElement | ( | ) |
Get the element which returns this property.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
List<String> fiftyone.pipeline.core.data.ElementPropertyMetaData.getEvidenceProperties | ( | ) |
Get the names of any JavaScript properties that, when executed, will obtain additional evidence that can help in determining the value of this property.
For example, the ScreenPixelsWidthJavaScript property will get the pixel width of the client-device's screen. This is used to update the ScreenPixelsWidth property. As such, ScreenPixelsWidth will have ScreenPixelWidthJavaScript in its list of evidence properties.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
List<ElementPropertyMetaData> fiftyone.pipeline.core.data.ElementPropertyMetaData.getItemProperties | ( | ) |
This is only relevant where Type is a collection of complex objects.
It contains a list of the property meta-data for the items in the value for this property. For example, if this meta-data instance represents a list of hardware devices, ItemProperties will contain a list of the meta-data for properties available on each hardware device element within that list.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
String fiftyone.pipeline.core.data.ElementPropertyMetaData.getName | ( | ) |
Get the name of the property.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
Class<?> fiftyone.pipeline.core.data.ElementPropertyMetaData.getType | ( | ) |
Get the type of data which the property refers to e.g.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.
boolean fiftyone.pipeline.core.data.ElementPropertyMetaData.isAvailable | ( | ) |
Get whether or not the property is available in the results // todo.
Implemented in fiftyone.pipeline.core.data.ElementPropertyMetaDataDefault.