public static class ConfigurationCommonEventTypeXMLDOM.XPathPropertyDesc extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE
Type information.
|
Constructor and Description |
---|
XPathPropertyDesc()
Ctor.
|
XPathPropertyDesc(String name,
String xpath,
QName type)
Ctor.
|
XPathPropertyDesc(String name,
String xpath,
QName type,
EPTypeClass optionalCastToType)
Ctor.
|
XPathPropertyDesc(String name,
String xpath,
QName type,
String eventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the event property name.
|
EPTypeClass |
getOptionalCastToType()
Returns the class that the return value of the xpath expression is cast to, or null if no casting.
|
String |
getOptionaleventTypeName()
Returns the event type name assigned to the explicit property.
|
QName |
getType()
Returns the javax.xml.xpath.XPathConstants constant representing the event property type.
|
String |
getXpath()
Returns the XPath expression.
|
void |
setName(String name)
Sets the event property name
|
void |
setOptionalCastToType(EPTypeClass optionalCastToType)
Sets the cast-to type
|
void |
setOptionaleventTypeName(String optionaleventTypeName)
Sets the event type name
|
void |
setOptionalEventTypeName(String optionaleventTypeName)
Sets the event type name
|
void |
setType(QName type)
Sets the return type
|
void |
setXpath(String xpath)
Sets the xpath
|
CodegenExpression |
toExpression(CodegenMethodScope parent,
CodegenClassScope scope)
Returns the code expression of the xpath settings
|
public static final EPTypeClass EPTYPE
public XPathPropertyDesc()
public XPathPropertyDesc(String name, String xpath, QName type)
name
- is the event property namexpath
- is an arbitrary XPath expressiontype
- is a javax.xml.xpath.XPathConstants constantpublic XPathPropertyDesc(String name, String xpath, QName type, EPTypeClass 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(String name, String xpath, QName type, 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 String getName()
public String getXpath()
public QName getType()
public EPTypeClass getOptionalCastToType()
public String getOptionaleventTypeName()
public void setName(String name)
name
- property namepublic void setXpath(String xpath)
xpath
- xpathpublic void setType(QName type)
type
- typepublic void setOptionalCastToType(EPTypeClass optionalCastToType)
optionalCastToType
- typepublic void setOptionaleventTypeName(String optionaleventTypeName)
optionaleventTypeName
- event type namepublic void setOptionalEventTypeName(String optionaleventTypeName)
optionaleventTypeName
- event type namepublic CodegenExpression toExpression(CodegenMethodScope parent, CodegenClassScope scope)
parent
- method parentscope
- scopeCopyright © 2005–2021. All rights reserved.