public class FragmentEventType extends Object
A fragment is a property value that is itself an event, or that can be represented as an event. Thereby a fragment comes with event type metadata and means of querying the fragment's properties.
A array or collection of property values that is an array of events or that can be represented as an array of events has the indexed flag set.
A map of property values that is an map of events or that can be represented as a map of events has the mapped flag set.
Constructor and Description |
---|
FragmentEventType(EventType fragmentType,
boolean indexed,
boolean isNative,
boolean canInsertEventBean)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventType |
getFragmentType()
Returns the type of the fragment.
|
boolean |
isCanInsertEventBean() |
boolean |
isIndexed()
Returns true if the fragment type is an array.
|
boolean |
isNative()
Returns true if the fragment is a native representation, i.e.
|
public FragmentEventType(EventType fragmentType, boolean indexed, boolean isNative, boolean canInsertEventBean)
fragmentType
- the event type for a property value for an event.indexed
- true to indicate that property value is an array of eventsisNative
- truecanInsertEventBean
- whether the fragment can hold EventBean
instances or only native objectspublic boolean isIndexed()
If a property value is an array and thereby a fragment array, this flag is set to true.
public EventType getFragmentType()
public boolean isNative()
public boolean isCanInsertEventBean()
Copyright © 2005–2021. All rights reserved.