Class Pattern
java.lang.Object
com.semedy.reasoner.parser.graphql.Pattern
Pattern for GraphQL outputs
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pattern
public Pattern()
-
-
Method Details
-
add
add a property- Parameters:
p- , property
-
get
get a property by name- Parameters:
name-- Returns:
-
has
is property with name there?- Parameters:
name-- Returns:
-
remove
remove a property by name- Parameters:
name-- Returns:
-
put
Create a property- Parameters:
name- , name of the propertyvariable- , variable for the propertyvalue- , value of the propertyinc- , should property be included in the output
-
put
Create a property- Parameters:
name- , name of the propertyvariable- , variable for the propertyinc- , should property be included in the output
-
getNames
get all property names- Returns:
-
setType
set the type of a property- Parameters:
type-
-
toString
-
toString
-