public class EventTypeMetadata
extends java.lang.Object
Constructor and Description |
---|
EventTypeMetadata(java.lang.String name,
java.lang.String moduleName,
EventTypeTypeClass typeClass,
EventTypeApplicationType applicationType,
NameAccessModifier accessModifier,
EventTypeBusModifier busModifier,
boolean isPropertyAgnostic,
EventTypeIdPair eventTypeIdPair)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
NameAccessModifier |
getAccessModifier()
Returns the access modifier
|
EventTypeApplicationType |
getApplicationType()
Returns the underlying type
|
EventTypeBusModifier |
getBusModifier()
Returns the event bus modifier.
|
EventTypeIdPair |
getEventTypeIdPair()
Returns event type ids
|
java.lang.String |
getModuleName()
Returns the module name or null when not provided.
|
java.lang.String |
getName()
Returns the event type name.
|
EventTypeTypeClass |
getTypeClass()
Returns information on the originator or use of the event type
|
boolean |
isPropertyAgnostic()
Returns indicator whether the type is property-agnostic, i.e.
|
com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression |
toExpression()
Build an expression for the metadata (for internal use).
|
com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression |
toExpressionWPublicId(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression expressionEventTypeIdPublic)
Build an expression for the metadata (for internal use).
|
java.lang.String |
toString() |
EventTypeMetadata |
withIds(long eventTypeIdPublic,
long eventTypeIdProtected)
Return metadata with the assigned ids
|
public EventTypeMetadata(java.lang.String name, java.lang.String moduleName, EventTypeTypeClass typeClass, EventTypeApplicationType applicationType, NameAccessModifier accessModifier, EventTypeBusModifier busModifier, boolean isPropertyAgnostic, EventTypeIdPair eventTypeIdPair)
name
- event type namemoduleName
- module name that originated the event type or null if not provided or if the event type is preconfiguredtypeClass
- information on the originator or use of the event typeapplicationType
- provides the type of the underlyingaccessModifier
- the access modifier defining how the event type is visible to other modulesbusModifier
- the bus modifier defining how the event type is visible to applications calling send-event methodsisPropertyAgnostic
- whether the type is property-agnostic (false for most typed, true for a type that allows any property name)eventTypeIdPair
- the type id pairpublic EventTypeTypeClass getTypeClass()
public EventTypeApplicationType getApplicationType()
public NameAccessModifier getAccessModifier()
public EventTypeBusModifier getBusModifier()
public boolean isPropertyAgnostic()
public EventTypeIdPair getEventTypeIdPair()
public java.lang.String getName()
public java.lang.String getModuleName()
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression toExpression()
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression toExpressionWPublicId(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression expressionEventTypeIdPublic)
expressionEventTypeIdPublic
- id pairpublic EventTypeMetadata withIds(long eventTypeIdPublic, long eventTypeIdProtected)
eventTypeIdPublic
- public ideventTypeIdProtected
- protected idpublic java.lang.String toString()
toString
in class java.lang.Object