Package adalid.core
Class Key
java.lang.Object
adalid.core.AbstractArtifact
adalid.core.Key
- Author:
- Jorge Campins
-
Field Summary
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondubiousProperties(PersistentEntity entity) dubiousPropertyNames(PersistentEntity entity) invalidProperties(PersistentEntity entity) invalidPropertyNames(PersistentEntity entity) booleanbooleanisUnique()booleanisValidKeyFor(PersistentEntity entity) voidnewKeyField(Property property) El método newKeyField se utiliza para agregar propiedades a la clave.voidnewKeyField(Property... property) El método newKeyField se utiliza para agregar propiedades a la clave.voidnewKeyField(Property property, SortOption sortOption) El método newKeyField se utiliza para agregar propiedades a la clave.voidsetUnique(boolean unique) El método setUnique se utiliza para establecer la unicidad de la clave.Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigInteger, checkName, checkScope, classToString, clearAttributes, coalesce, copyBootstrappingAttributes, copyLocalizedStrings, defaultLocale, depth, fa, fieldsToString, finalise, finish, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultColumnHeader, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getDefaultWrapperClass, getFullName, getInlineHelpType, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedColumnHeader, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getStringKeyValuePairAttribute, getStringKeyValuePairAttribute, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, greaterThanZero, h1, h2, h3, h4, h5, h6, hashCodeHexString, i, i, ic, ic, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isUnicodeSymbolClass, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, m, m, mapsToString, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultColumnHeader, setDefaultColumnHeader, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setInlineHelpType, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedColumnHeader, setLocalizedColumnHeader, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
getKeyFieldsList
- Returns:
- the key fields
-
isUnique
public boolean isUnique()- Returns:
- the unique indicator
-
setUnique
public void setUnique(boolean unique) El método setUnique se utiliza para establecer la unicidad de la clave. Las claves únicas no permiten valores duplicados en las propiedades que las integran.- Parameters:
unique- true, si la clave es única; de lo contrario false
-
newKeyField
El método newKeyField se utiliza para agregar propiedades a la clave. Las claves pueden estar integradas por una o más propiedades, y para cada propiedad se puede establecer el orden en el índice correspondiente. La posición relativa de cada propiedad en el índice está determinado por la secuencia en la que se agregan a la clave.- Parameters:
property- propiedad de la entidad; el orden en el índice será ascendente.
-
newKeyField
El método newKeyField se utiliza para agregar propiedades a la clave. Las claves pueden estar integradas por una o más propiedades, y para cada propiedad se puede establecer el orden en el índice correspondiente. La posición relativa de cada propiedad en el índice está determinado por la secuencia en la que se agregan a la clave.- Parameters:
property- propiedad de la entidad.sortOption- especifica el orden de la propiedad en el índice. Su valor es uno de los elementos de la enumeración SortOption. Seleccione ASC o DESC para establecer el orden como ascendente o descendente, respectivamente.
-
newKeyField
El método newKeyField se utiliza para agregar propiedades a la clave. Las claves pueden estar integradas por una o más propiedades, y para cada propiedad se puede establecer el orden en el índice correspondiente. La posición relativa de cada propiedad en el índice está determinado por la secuencia en la que se agregan a la clave.- Parameters:
property- una o más propiedades de la entidad; el orden en el índice será ascendente.
-
isValidKeyFor
-
invalidPropertyNames
-
invalidProperties
-
dubiousPropertyNames
-
dubiousProperties
-
isSingleProperty
public boolean isSingleProperty() -
getTheProperty
-