Class ArtifactInfoContext
java.lang.Object
org.apache.ofbiz.minilang.artifact.ArtifactInfoContext
An object used for gathering artifact information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntityName
(String name) Adds an entity name to this context.void
addServiceName
(String name) Adds a service name to this context.void
addSimpleMethod
(SimpleMethod method) Adds a visitedSimpleMethod
to this context.Returns the entity names in this context.Returns the service names in this context.boolean
hasVisited
(SimpleMethod method) Returnstrue
if this context has visitedmethod
.
-
Constructor Details
-
ArtifactInfoContext
public ArtifactInfoContext()
-
-
Method Details
-
addEntityName
Adds an entity name to this context.- Parameters:
name
- The entity name to add to this context
-
addServiceName
Adds a service name to this context.- Parameters:
name
- The service name to add to this context
-
addSimpleMethod
Adds a visitedSimpleMethod
to this context.- Parameters:
method
- theSimpleMethod
to add to this context
-
getEntityNames
Returns the entity names in this context.- Returns:
- The entity names in this context
-
getServiceNames
Returns the service names in this context.- Returns:
- The service names in this context
-
hasVisited
Returnstrue
if this context has visitedmethod
.- Parameters:
method
- TheSimpleMethod
to test- Returns:
true
if this context has visitedmethod
-