Record Class GraphQlSchemaGenerator.PropertyInfo
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.schema.generator.GraphQlSchemaGenerator.PropertyInfo
- Enclosing class:
- GraphQlSchemaGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyInfo(org.apache.jena.graph.Node name, Set<org.apache.jena.graph.Node> objectTypes, boolean maxResourceCard, Set<org.apache.jena.graph.Node> objectDatatypes, boolean maxLiteralCard) Creates an instance of aPropertyInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of themaxLiteralCardrecord component.booleanReturns the value of themaxResourceCardrecord component.org.apache.jena.graph.Nodename()Returns the value of thenamerecord component.Set<org.apache.jena.graph.Node>Returns the value of theobjectDatatypesrecord component.Set<org.apache.jena.graph.Node>Returns the value of theobjectTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PropertyInfo
public PropertyInfo(org.apache.jena.graph.Node name, Set<org.apache.jena.graph.Node> objectTypes, boolean maxResourceCard, Set<org.apache.jena.graph.Node> objectDatatypes, boolean maxLiteralCard) Creates an instance of aPropertyInforecord class.- Parameters:
name- the value for thenamerecord componentobjectTypes- the value for theobjectTypesrecord componentmaxResourceCard- the value for themaxResourceCardrecord componentobjectDatatypes- the value for theobjectDatatypesrecord componentmaxLiteralCard- the value for themaxLiteralCardrecord component
-
-
Method Details
-
clone
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
public org.apache.jena.graph.Node name()Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
objectTypes
Returns the value of theobjectTypesrecord component.- Returns:
- the value of the
objectTypesrecord component
-
maxResourceCard
public boolean maxResourceCard()Returns the value of themaxResourceCardrecord component.- Returns:
- the value of the
maxResourceCardrecord component
-
objectDatatypes
Returns the value of theobjectDatatypesrecord component.- Returns:
- the value of the
objectDatatypesrecord component
-
maxLiteralCard
public boolean maxLiteralCard()Returns the value of themaxLiteralCardrecord component.- Returns:
- the value of the
maxLiteralCardrecord component
-