Package hydra.shex.syntax
Class ShexDoc_Sequence_Option
- java.lang.Object
-
- hydra.shex.syntax.ShexDoc_Sequence_Option
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShexDoc_Sequence_Option>
public class ShexDoc_Sequence_Option extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ShexDoc_Sequence_Option>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ShexDoc_Sequence_Option_Altsaltsstatic NameALTSName of thehydra.shex.syntax.ShexDoc_Sequence_Option.altsfield.static NameLIST_OF_STATEMENTName of thehydra.shex.syntax.ShexDoc_Sequence_Option.listOfStatementfield.java.util.List<Statement>listOfStatementstatic NameTYPE_Name of thehydra.shex.syntax.ShexDoc_Sequence_Optiontype.
-
Constructor Summary
Constructors Constructor Description ShexDoc_Sequence_Option(ShexDoc_Sequence_Option_Alts alts, java.util.List<Statement> listOfStatement)Constructs an immutableShexDoc_Sequence_Option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ShexDoc_Sequence_Option other)booleanequals(java.lang.Object other)inthashCode()ShexDoc_Sequence_OptionwithAlts(ShexDoc_Sequence_Option_Alts alts)Returns a copy of thisShexDoc_Sequence_Optionwithaltsreplaced.ShexDoc_Sequence_OptionwithListOfStatement(java.util.List<Statement> listOfStatement)Returns a copy of thisShexDoc_Sequence_OptionwithlistOfStatementreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.shex.syntax.ShexDoc_Sequence_Optiontype.
-
ALTS
public static final Name ALTS
Name of thehydra.shex.syntax.ShexDoc_Sequence_Option.altsfield.
-
LIST_OF_STATEMENT
public static final Name LIST_OF_STATEMENT
Name of thehydra.shex.syntax.ShexDoc_Sequence_Option.listOfStatementfield.
-
alts
public final ShexDoc_Sequence_Option_Alts alts
-
listOfStatement
public final java.util.List<Statement> listOfStatement
-
-
Constructor Detail
-
ShexDoc_Sequence_Option
public ShexDoc_Sequence_Option(ShexDoc_Sequence_Option_Alts alts, java.util.List<Statement> listOfStatement)
Constructs an immutableShexDoc_Sequence_Option.
-
-
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(ShexDoc_Sequence_Option other)
- Specified by:
compareToin interfacejava.lang.Comparable<ShexDoc_Sequence_Option>
-
withAlts
public ShexDoc_Sequence_Option withAlts(ShexDoc_Sequence_Option_Alts alts)
Returns a copy of thisShexDoc_Sequence_Optionwithaltsreplaced.
-
withListOfStatement
public ShexDoc_Sequence_Option withListOfStatement(java.util.List<Statement> listOfStatement)
Returns a copy of thisShexDoc_Sequence_OptionwithlistOfStatementreplaced.
-
-