Package adalid.core.interfaces
Interface IntervalizedArtifact
-
- All Superinterfaces:
Artifact,DataArtifact,Nullable,TypedArtifact
- All Known Implementing Classes:
BigDecimalData,BigDecimalParameter,BigDecimalProperty,BigIntegerData,BigIntegerParameter,BigIntegerProperty,ByteData,ByteParameter,ByteProperty,DateData,DateParameter,DateProperty,DoubleData,DoubleParameter,DoubleProperty,FloatData,FloatParameter,FloatProperty,IntegerData,IntegerParameter,IntegerProperty,LongData,LongParameter,LongProperty,NumericPrimitive,ShortData,ShortParameter,ShortProperty,TemporalPrimitive,TimeData,TimeParameter,TimeProperty,TimestampData,TimestampParameter,TimestampProperty
public interface IntervalizedArtifact extends DataArtifact
- Author:
- Jorge Campins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultRangeErrorMessage()StringgetLocalizedRangeErrorMessage(Locale locale)StringgetMaximumValueTag()ObjectgetMaxValue()StringgetMinimumValueTag()ObjectgetMinValue()voidsetDefaultRangeErrorMessage(String message)El método setDefaultRangeErrorMessage se utiliza para establecer el mensaje de error asociado al rango de valores que se almacena en el archivo de recursos por defecto.voidsetLocalizedRangeErrorMessage(Locale locale, String message)El método setLocalizedRangeErrorMessage se utiliza para establecer el mensaje de error asociado al rango de valores que se almacena en el archivo de recursos por defecto.voidsetMaximumValueTag(String tag)El método setMaximumValueTag se utiliza para establecer la descripción del valor máximo de propiedades y parámetros que se almacena en el archivo de recursos por defecto.voidsetMinimumValueTag(String tag)El método setMinimumValueTag se utiliza para establecer la descripción del valor mínimo de propiedades y parámetros que se almacena en el archivo de recursos por defecto.-
Methods inherited from interface adalid.core.interfaces.Artifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, clearAttributes, depth, finalise, getAlias, getAttribute, getAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, put, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, toString, toString, toString, toString
-
Methods inherited from interface adalid.core.interfaces.DataArtifact
getDataClass, getSegmentEntityClass, isParameter, isProperty
-
Methods inherited from interface adalid.core.interfaces.TypedArtifact
getDataType
-
-
-
-
Method Detail
-
getMaxValue
Object getMaxValue()
- Returns:
- the maximum value
-
getMinValue
Object getMinValue()
- Returns:
- the minimum value
-
getMaximumValueTag
String getMaximumValueTag()
- Returns:
- the maximum value tag
-
setMaximumValueTag
void setMaximumValueTag(String tag)
El método setMaximumValueTag se utiliza para establecer la descripción del valor máximo de propiedades y parámetros que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el valor de la descripción.- Parameters:
tag- una o más oraciones que describen muy brevemente el valor máximo de la propiedad o el parámetro
-
getMinimumValueTag
String getMinimumValueTag()
- Returns:
- the minimum value tag
-
setMinimumValueTag
void setMinimumValueTag(String tag)
El método setMinimumValueTag se utiliza para establecer la descripción del valor mínimo de propiedades y parámetros que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el valor de la descripción.- Parameters:
tag- una o más oraciones que describen muy brevemente el valor mínimo de la propiedad o el parámetro
-
getDefaultRangeErrorMessage
String getDefaultRangeErrorMessage()
- Returns:
- the default range error message
-
setDefaultRangeErrorMessage
void setDefaultRangeErrorMessage(String message)
El método setDefaultRangeErrorMessage se utiliza para establecer el mensaje de error asociado al rango de valores que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el valor del mensaje. El rango de valores es definido mediante los métodos setMinValue y setMaxValue de propiedades y parámetros numéricos y temporales.- Parameters:
message- mensaje de error. El mensaje puede contener los marcadores de posición {0}, {1} y {2} para mostrar al usuario el valor suministrado, el valor mínimo permitido y el valor máximo permitido, respectivamente.
-
getLocalizedRangeErrorMessage
String getLocalizedRangeErrorMessage(Locale locale)
- Parameters:
locale- the locale for the range error message- Returns:
- the localized range error message
-
setLocalizedRangeErrorMessage
void setLocalizedRangeErrorMessage(Locale locale, String message)
El método setLocalizedRangeErrorMessage se utiliza para establecer el mensaje de error asociado al rango de valores que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el valor del mensaje. El rango de valores es definido mediante los métodos setMinValue y setMaxValue de propiedades y parámetros numéricos y temporales.- Parameters:
locale- configuración regionalmessage- mensaje de error. El mensaje puede contener los marcadores de posición {0}, {1} y {2} para mostrar al usuario el valor suministrado, el valor mínimo permitido y el valor máximo permitido, respectivamente.
-
-