Package hydra.shex.syntax
Class ShapeOr
- java.lang.Object
-
- hydra.shex.syntax.ShapeOr
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShapeOr>
public class ShapeOr extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ShapeOr>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameLIST_OF_SEQUENCEName of thehydra.shex.syntax.ShapeOr.listOfSequencefield.java.util.List<ShapeAnd>listOfSequencestatic NameSHAPE_ANDName of thehydra.shex.syntax.ShapeOr.ShapeAndfield.ShapeAndShapeAndstatic NameTYPE_Name of thehydra.shex.syntax.ShapeOrtype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ShapeOr other)booleanequals(java.lang.Object other)inthashCode()ShapeOrwithListOfSequence(java.util.List<ShapeAnd> listOfSequence)Returns a copy of thisShapeOrwithlistOfSequencereplaced.ShapeOrwithShapeAnd(ShapeAnd ShapeAnd)Returns a copy of thisShapeOrwithShapeAndreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.shex.syntax.ShapeOrtype.
-
SHAPE_AND
public static final Name SHAPE_AND
Name of thehydra.shex.syntax.ShapeOr.ShapeAndfield.
-
LIST_OF_SEQUENCE
public static final Name LIST_OF_SEQUENCE
Name of thehydra.shex.syntax.ShapeOr.listOfSequencefield.
-
ShapeAnd
public final ShapeAnd ShapeAnd
-
listOfSequence
public final java.util.List<ShapeAnd> listOfSequence
-
-
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(ShapeOr other)
- Specified by:
compareToin interfacejava.lang.Comparable<ShapeOr>
-
withShapeAnd
public ShapeOr withShapeAnd(ShapeAnd ShapeAnd)
Returns a copy of thisShapeOrwithShapeAndreplaced.
-
-