public interface DomainConstraint extends DataConstraint
Title: Service Event Fabric Core
Description: Defines a Domain Constraint.
String
Byte
Short
Integer
Long
Float
Double
BigDecimal
Date
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
addBigDecimalValue(java.math.BigDecimal value)
Adds the specified
BigDecimal value to the domain. |
void |
addByteValue(byte value)
Adds the specified
byte value to the domain. |
void |
addDateValue(java.util.Date value)
Adds the specified
Date value to the domain. |
void |
addDoubleValue(double value)
Adds the specified
double value to the domain. |
void |
addFloatValue(float value)
Adds the specified
float value to the domain. |
void |
addIntValue(int value)
Adds the specified
int value to the domain. |
void |
addLongValue(long value)
Adds the specified
long value to the domain. |
void |
addShortValue(short value)
Adds the specified
short value to the domain. |
void |
addStringValue(java.lang.String value)
Adds the specified
String value to the domain. |
void |
addValues(java.util.Set values)
Adds the specified values to the domain.
|
void |
clear()
Removes all values from the domain.
|
DomainConstraintType |
getType()
Returns a type of the domain.
|
java.util.List |
listBigDecimalValues()
Returns a list of
BigDecimal values contained in the domain. |
java.util.List |
listByteValues()
Returns a list of
Byte values contained in the domain. |
java.util.List |
listDateValues()
Returns a list of
Date values contained in the domain. |
java.util.List |
listDoubleValues()
Returns a list of
Double values contained in the domain. |
java.util.List |
listFloatValues()
Returns a list of
Float values contained in the domain. |
java.util.List |
listIntValues()
Returns a list of
Integer values contained in the domain. |
java.util.List |
listLongValues()
Returns a list of
Long values contained in the domain. |
java.util.List |
listShortValues()
Returns a list of
Short values contained in the domain. |
java.util.List |
listStringValues()
Returns a list of
String values contained in the domain. |
java.util.List |
listValues()
Returns a list of all values contained in the domain.
|
void |
removeBigDecimalValue(java.math.BigDecimal value)
Removes the specified
BigDecimal value from the domain. |
void |
removeByteValue(byte value)
Removes the specified
byte value from the domain. |
void |
removeDateValue(java.util.Date value)
Removes the specified
Date value from the domain. |
void |
removeDoubleValue(double value)
Removes the specified
double value from the domain. |
void |
removeFloatValue(float value)
Removes the specified
float value from the domain. |
void |
removeIntValue(int value)
Removes the specified
int value from the domain. |
void |
removeLongValue(long value)
Removes the specified
long value from the domain. |
void |
removeShortValue(short value)
Removes the specified
short value from the domain. |
void |
removeStringValue(java.lang.String value)
Removes the specified
String value from the domain. |
void |
removeValues(java.util.Set values)
Removes the specified values from the domain.
|
getDescription, matchesValue, setDescription
getName
DomainConstraintType getType()
void addValues(java.util.Set values)
If any value is of an inappropriate type, it is simply ignored.
values
- the values to be set.void removeValues(java.util.Set values)
If any value is of an inappropriate type, it is simply ignored.
values
- the values to be removed.java.util.List listValues()
void addStringValue(java.lang.String value)
String
value to the domain.value
- the value to be added.void removeStringValue(java.lang.String value)
String
value from the domain.value
- the value to be removed.java.util.List listStringValues()
String
values contained in the domain.String
values in the domain or an empty list if the domain does not contain such values.void addByteValue(byte value)
byte
value to the domain.value
- the value to be added.void removeByteValue(byte value)
byte
value from the domain.value
- the value to be removed.java.util.List listByteValues()
Byte
values contained in the domain.Byte
values in the domain or an empty list if the domain does not contain such values.void addShortValue(short value)
short
value to the domain.value
- the value to be added.void removeShortValue(short value)
short
value from the domain.value
- the value to be removed.java.util.List listShortValues()
Short
values contained in the domain.Short
values in the domain or an empty list if the domain does not contain such values.void addIntValue(int value)
int
value to the domain.value
- the value to be added.void removeIntValue(int value)
int
value from the domain.value
- the value to be removed.java.util.List listIntValues()
Integer
values contained in the domain.Integer
values in the domain or an empty list if the domain does not contain such values.void addLongValue(long value)
long
value to the domain.value
- the value to be added.void removeLongValue(long value)
long
value from the domain.value
- the value to be removed.java.util.List listLongValues()
Long
values contained in the domain.Long
values in the domain or an empty list if the domain does not contain such values.void addFloatValue(float value)
float
value to the domain.value
- the value to be added.void removeFloatValue(float value)
float
value from the domain.value
- the value to be removed.java.util.List listFloatValues()
Float
values contained in the domain.Float
values in the domain or an empty list if the domain does not contain such values.void addDoubleValue(double value)
double
value to the domain.value
- the value to be added.void removeDoubleValue(double value)
double
value from the domain.value
- the value to be removed.java.util.List listDoubleValues()
Double
values contained in the domain.Double
values in the domain or an empty list if the domain does not contain such values.void addBigDecimalValue(java.math.BigDecimal value)
BigDecimal
value to the domain.value
- the value to be added.void removeBigDecimalValue(java.math.BigDecimal value)
BigDecimal
value from the domain.value
- the value to be removed.java.util.List listBigDecimalValues()
BigDecimal
values contained in the domain.BigDecimal
values in the domain or an empty list if the domain does not contain such values.void addDateValue(java.util.Date value)
Date
value to the domain.value
- the value to be added.void removeDateValue(java.util.Date value)
Date
value from the domain.value
- the value to be removed.java.util.List listDateValues()
Date
values contained in the domain.Date
values in the domain or an empty list if the domain does not contain such values.void clear()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.