Package openGql.grammar
Class RelativeDirectoryAndSchema
- java.lang.Object
-
- openGql.grammar.RelativeDirectoryAndSchema
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RelativeDirectoryAndSchema>
public class RelativeDirectoryAndSchema extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<RelativeDirectoryAndSchema>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameDIRECTORY_PATHName of theopenGql.grammar.RelativeDirectoryAndSchema.directoryPathfield.RelativeDirectoryPathdirectoryPathstatic NameSCHEMA_NAMEName of theopenGql.grammar.RelativeDirectoryAndSchema.schemaNamefield.java.lang.StringschemaNamestatic NameTYPE_Name of theopenGql.grammar.RelativeDirectoryAndSchematype.
-
Constructor Summary
Constructors Constructor Description RelativeDirectoryAndSchema(RelativeDirectoryPath directoryPath, java.lang.String schemaName)Constructs an immutableRelativeDirectoryAndSchema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(RelativeDirectoryAndSchema other)booleanequals(java.lang.Object other)inthashCode()RelativeDirectoryAndSchemawithDirectoryPath(RelativeDirectoryPath directoryPath)Returns a copy of thisRelativeDirectoryAndSchemawithdirectoryPathreplaced.RelativeDirectoryAndSchemawithSchemaName(java.lang.String schemaName)Returns a copy of thisRelativeDirectoryAndSchemawithschemaNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.RelativeDirectoryAndSchematype.
-
DIRECTORY_PATH
public static final Name DIRECTORY_PATH
Name of theopenGql.grammar.RelativeDirectoryAndSchema.directoryPathfield.
-
SCHEMA_NAME
public static final Name SCHEMA_NAME
Name of theopenGql.grammar.RelativeDirectoryAndSchema.schemaNamefield.
-
directoryPath
public final RelativeDirectoryPath directoryPath
-
schemaName
public final java.lang.String schemaName
-
-
Constructor Detail
-
RelativeDirectoryAndSchema
public RelativeDirectoryAndSchema(RelativeDirectoryPath directoryPath, java.lang.String schemaName)
Constructs an immutableRelativeDirectoryAndSchema.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(RelativeDirectoryAndSchema other)
- Specified by:
compareToin interfacejava.lang.Comparable<RelativeDirectoryAndSchema>
-
withDirectoryPath
public RelativeDirectoryAndSchema withDirectoryPath(RelativeDirectoryPath directoryPath)
Returns a copy of thisRelativeDirectoryAndSchemawithdirectoryPathreplaced.
-
withSchemaName
public RelativeDirectoryAndSchema withSchemaName(java.lang.String schemaName)
Returns a copy of thisRelativeDirectoryAndSchemawithschemaNamereplaced.
-
-