org.gcube.common.resources.kxml.service.version
Class Restriction

java.lang.Object
  extended by org.gcube.common.resources.kxml.service.version.Restriction

public class Restriction
extends Object

Describes a restriction in versioning.


Constructor Summary
Restriction(ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive)
           
 
Method Summary
 boolean equals(Object other)
           
 ArtifactVersion getLowerBound()
           
 ArtifactVersion getUpperBound()
           
 boolean isLowerBoundInclusive()
           
 boolean isUpperBoundInclusive()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Restriction

public Restriction(ArtifactVersion lowerBound,
                   boolean lowerBoundInclusive,
                   ArtifactVersion upperBound,
                   boolean upperBoundInclusive)
Method Detail

getLowerBound

public ArtifactVersion getLowerBound()

isLowerBoundInclusive

public boolean isLowerBoundInclusive()

getUpperBound

public ArtifactVersion getUpperBound()

isUpperBoundInclusive

public boolean isUpperBoundInclusive()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.