public class EntryPointId extends ConditionalElement implements PatternSource, Externalizable
Modifier and Type | Field and Description |
---|---|
static EntryPointId |
DEFAULT |
Constructor and Description |
---|
EntryPointId() |
EntryPointId(String entryPointId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
EntryPointId |
clone()
There is not reason to clone this object since it is stateless.
|
boolean |
equals(Object obj) |
String |
getEntryPointId() |
Map<String,Declaration> |
getInnerDeclarations()
It is not possible to declare any new variables, so always
return an Empty Map
|
List<? extends RuleConditionElement> |
getNestedElements()
It is not possible to nest elements inside an entry point, so
always return an empty list.
|
Map<String,Declaration> |
getOuterDeclarations()
It is not possible to declare and export any variables,
so always return an empty map
|
int |
hashCode() |
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits
a pattern visibility scope.
|
void |
readExternal(ObjectInput in) |
boolean |
requiresLeftActivation() |
Declaration |
resolveDeclaration(String identifier)
Not possible to resolve any declaration, so always return null.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final EntryPointId DEFAULT
public EntryPointId()
public EntryPointId(String entryPointId)
entryPointId
- the ID for this entry pointpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public EntryPointId clone()
clone
in interface RuleConditionElement
clone
in class ConditionalElement
public Map<String,Declaration> getInnerDeclarations()
getInnerDeclarations
in interface RuleConditionElement
public List<? extends RuleConditionElement> getNestedElements()
getNestedElements
in interface RuleConditionElement
public Map<String,Declaration> getOuterDeclarations()
getOuterDeclarations
in interface RuleConditionElement
public Declaration resolveDeclaration(String identifier)
resolveDeclaration
in interface RuleConditionElement
public String getEntryPointId()
public boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter
in interface RuleConditionElement
public boolean requiresLeftActivation()
requiresLeftActivation
in interface PatternSource
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.