public static class ConfigurationCommonEventTypeXMLDOM.XPathPropertyDesc
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
XPathPropertyDesc() |
XPathPropertyDesc(java.lang.String name,
java.lang.String xpath,
javax.xml.namespace.QName type)
Ctor.
|
XPathPropertyDesc(java.lang.String name,
java.lang.String xpath,
javax.xml.namespace.QName type,
java.lang.Class optionalCastToType)
Ctor.
|
XPathPropertyDesc(java.lang.String name,
java.lang.String xpath,
javax.xml.namespace.QName type,
java.lang.String eventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the event property name.
|
java.lang.Class |
getOptionalCastToType()
Returns the class that the return value of the xpath expression is cast to, or null if no casting.
|
java.lang.String |
getOptionaleventTypeName()
Returns the event type name assigned to the explicit property.
|
javax.xml.namespace.QName |
getType()
Returns the javax.xml.xpath.XPathConstants constant representing the event property type.
|
java.lang.String |
getXpath()
Returns the XPath expression.
|
void |
setName(java.lang.String name) |
void |
setOptionalCastToType(java.lang.Class optionalCastToType) |
void |
setOptionaleventTypeName(java.lang.String optionaleventTypeName) |
void |
setOptionalEventTypeName(java.lang.String optionaleventTypeName) |
void |
setType(javax.xml.namespace.QName type) |
void |
setXpath(java.lang.String xpath) |
com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression |
toExpression(com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope parent,
com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope scope) |
public XPathPropertyDesc()
public XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type)
name
- is the event property namexpath
- is an arbitrary XPath expressiontype
- is a javax.xml.xpath.XPathConstants constantpublic XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type, java.lang.Class optionalCastToType)
name
- is the event property namexpath
- is an arbitrary XPath expressiontype
- is a javax.xml.xpath.XPathConstants constantoptionalCastToType
- if non-null then the return value of the xpath expression is cast to this valuepublic XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type, java.lang.String eventTypeName)
name
- is the event property namexpath
- is an arbitrary XPath expressiontype
- is a javax.xml.xpath.XPathConstants constanteventTypeName
- the name of an event type that represents the fragmented property valuepublic java.lang.String getName()
public java.lang.String getXpath()
public javax.xml.namespace.QName getType()
public java.lang.Class getOptionalCastToType()
public java.lang.String getOptionaleventTypeName()
public void setName(java.lang.String name)
public void setXpath(java.lang.String xpath)
public void setType(javax.xml.namespace.QName type)
public void setOptionalCastToType(java.lang.Class optionalCastToType)
public void setOptionaleventTypeName(java.lang.String optionaleventTypeName)
public void setOptionalEventTypeName(java.lang.String optionaleventTypeName)
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression toExpression(com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope parent, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope scope)