public class HTTPRangeConstraintReference extends HTTPConstraintReference implements RangeConstraintReference
Title: HTTP Fabric Client
Description: This class provides API for getting information about a NumericRangeConstraint.
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
FabricAddress |
getComponentAddress()
Returns the Fabric address of a Fabric Component to which the entity belongs or in which the entity was created.
|
EventScope |
getEventScope()
Returns an event scope of the entity.
|
ExchangeRole |
getExchangeRole()
Returns the Exchange role of the entity.
|
java.lang.Object |
getMaxValue()
Returns a max value of the range.
|
java.lang.Object |
getMinValue()
Returns a min value of the range.
|
RangeConstraintType |
getType()
Returns a type of the range.
|
boolean |
lookup() |
java.lang.String |
lookupName() |
boolean |
matchesValue(java.lang.Object value)
Checks if the specified value matches the range.
|
getDescription
compareTo, equals, getName, toString
clone, getSerialVersionUID
getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription
getComponentAddress, getEventScope, getExchangeRole
getName
public RangeConstraintType getType()
RangeConstraintReference
getType
in interface RangeConstraintReference
public java.lang.Object getMinValue()
RangeConstraintReference
getMinValue
in interface RangeConstraintReference
public java.lang.Object getMaxValue()
RangeConstraintReference
getMaxValue
in interface RangeConstraintReference
public boolean matchesValue(java.lang.Object value)
RangeConstraintReference
getMinValue() <= value && value <= getMaxValue()
.matchesValue
in interface RangeConstraintReference
value
- the value to be checked.true
if the specified value matches the range, false
otherwise.public ExchangeRole getExchangeRole() throws HTTPFabricException
EntityReference
getExchangeRole
in interface EntityReference
HTTPFabricException
public FabricAddress getComponentAddress() throws HTTPFabricException
EntityReference
getComponentAddress
in interface EntityReference
HTTPFabricException
public EventScope getEventScope() throws HTTPFabricException
EntityReference
getEventScope
in interface EntityReference
HTTPFabricException
public boolean lookup()
public java.lang.String lookupName()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.