Record Class GraphQlSchemaGenerator.TypeInfo
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.schema.generator.GraphQlSchemaGenerator.TypeInfo
- Enclosing class:
- GraphQlSchemaGenerator
public static record GraphQlSchemaGenerator.TypeInfo(Set<org.apache.jena.graph.Node> subjectTypes, org.apache.jena.graph.Node property, boolean isForward, Set<org.apache.jena.graph.Node> objectTypes, boolean maxResourceCard, Set<org.apache.jena.graph.Node> objectDatatypes, boolean maxLiteralCard)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTypeInfo(Set<org.apache.jena.graph.Node> subjectTypes, org.apache.jena.graph.Node property, boolean isForward, Set<org.apache.jena.graph.Node> objectTypes, boolean maxResourceCard, Set<org.apache.jena.graph.Node> objectDatatypes, boolean maxLiteralCard) Creates an instance of aTypeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisForwardrecord component.booleanReturns the value of themaxLiteralCardrecord component.booleanReturns the value of themaxResourceCardrecord 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.org.apache.jena.graph.Nodeproperty()Returns the value of thepropertyrecord component.Set<org.apache.jena.graph.Node>Returns the value of thesubjectTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TypeInfo
public TypeInfo(Set<org.apache.jena.graph.Node> subjectTypes, org.apache.jena.graph.Node property, boolean isForward, Set<org.apache.jena.graph.Node> objectTypes, boolean maxResourceCard, Set<org.apache.jena.graph.Node> objectDatatypes, boolean maxLiteralCard) Creates an instance of aTypeInforecord class.- Parameters:
subjectTypes- the value for thesubjectTypesrecord componentproperty- the value for thepropertyrecord componentisForward- the value for theisForwardrecord componentobjectTypes- the value for theobjectTypesrecord componentmaxResourceCard- the value for themaxResourceCardrecord componentobjectDatatypes- the value for theobjectDatatypesrecord componentmaxLiteralCard- the value for themaxLiteralCardrecord component
-
-
Method Details
-
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 '=='. -
subjectTypes
Returns the value of thesubjectTypesrecord component.- Returns:
- the value of the
subjectTypesrecord component
-
property
public org.apache.jena.graph.Node property()Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
isForward
public boolean isForward()Returns the value of theisForwardrecord component.- Returns:
- the value of the
isForwardrecord 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
-