public class ViewAttributeDescriptor extends AttributeDescriptor
ViewType. It describes its value type as
well as its persistence implementation.| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
AttributeDescriptor.AttributeDescriptorImplDescriptor.DescriptorImplTypeManagerManaged.TypeManagerManagedImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionALL, ALL_PUBLIC, ATTRIBUTE_HANDLER, DATABASECOLUMN, DECLARING_ENCLOSING_TYPE, DEFAULTVALUE, DEFAULTVALUE_DEFINITIONSTRING, DESCRIPTION, ENCLOSING_TYPE, ENCRYPTED, ENCRYPTED_FLAG, INHERITED, INHERITED_FLAG, INITIAL, INITIAL_FLAG, LOCALIZED, LOCALIZED_FLAG, MODIFIERS, OPTIONAL, OPTIONAL_FLAG, PARTOF, PARTOF_FLAG, PERSISTENCE_CLASS, PERSISTENCETYPE, PRIMITIVE, PRIMITIVE_FLAG, PRIVATE, PRIVATE_FLAG, PROPERTY, PROPERTY_FLAG, PROPOSED_DATABASE_COLUMN, READ, READ_FLAG, READABLE, REMOVABLE, REMOVE, REMOVE_FLAG, SEARCH, SEARCH_FLAG, TIM_IGNORE, TIM_IGNORE_FLAG, UNIQUE, WRITABLE, WRITE, WRITE_FLAGATTRIBUTETYPE, QUALIFIERAUTOCREATE, DEPRECATED, EXTENSION_NAME, GENERATE, NAMELANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
ViewAttributeDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Creator method for generic creation of attribute descriptor.
|
String |
getPersistenceQualifier()
If the attribute is backed by a EJB CMP field this method returns the CMP field name.
|
int |
getPosition() |
protected Map |
getXMLCustomProperties()
Override to add custom properties to this type's xml definition.
|
boolean |
isParam() |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isSearchable()
Tells whether a attribute is searchable or not.
|
void |
setInitial(boolean b)
no-op
|
void |
setLocalized(boolean b)
no-op
|
void |
setParam(boolean isParam) |
void |
setPartOf(boolean b)
no-op
|
void |
setPosition(int pos) |
void |
setPrivate(boolean b)
no-op
|
void |
setProperty(boolean b)
no-op
|
void |
setReadable(boolean b)
no-op
|
void |
setRemovable(boolean b)
no-op
|
void |
setSearchable(boolean b)
no-op
|
void |
setWritable(boolean b)
no-op
|
checkDefaultValueAssignability, checkLocalizedChange, checkPartOfChange, checkPropertyChange, checkSearchableChange, checkSelectionOfDescriptor, checkTypeChange, checkTypePermission, checkTypePermission, exportXMLDefinition, exportXMLDefinitionDefaultValue, getAllDescriptions, getAllDescriptions, getAllNames, getAllSubAttributeDescriptors, getAttributeDescriptorImpl, getAttributeHandler, getDatabaseColumn, getDeclaringEnclosingType, getDefaultValue, getDefaultValue, getDefaultValueDefinitionString, getDescription, getDescription, getDontOptimize, getEnclosingType, getIntModifiersFromMap, getModifiers, getName, getNonInitialAttributes, getPersistenceClass, getPersistenceType, getProposedDatabaseColumn, getSelectionOf, getSubAttributeDescriptors, getXMLDefinition, interpretAndReplaceDefaultValue, isEncrypted, isInherited, isInitial, isLocalized, isOptional, isPartOf, isPrimitive, isPrivate, isReadable, isRedeclared, isRemovable, isUnique, isWritable, isWriteable, redeclareAttributeType, removeLocalizedProperty, removeLocalizedPropertyNonRecursively, removeProperty, removePropertyNonRecursively, setAllDescriptions, setAllDescriptions, setAttributeHandler, setAttributeType, setDatabaseColumn, setDefaultValue, setDefaultValue, setDescription, setDescription, setDontOptimize, setEncrypted, setLocalizedProperty, setLocalizedPropertyNonRecursively, setModifiers, setOptional, setPrimitive, setProperty, setPropertyNonRecursively, setSelectionOf, setUnique, toString, toString, writeDefaultValueTagAtomiccompareTo, getAttributeType, getAttributeType, getContextAdjustedAttributeType, getDescriptorImpl, getQualifier, getRealAttributeTypegetAllNames, getExtensionName, getImpl, getName, isAutocreate, isDeprecated, isGenerate, setAllNames, setAllNames, setAutocreate, setExtensionName, setGenerate, setName, setNamegetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, setAllProperties, setAllProperties, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getDefaultAttributeModes, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, useTA, writeReplacegetImplementation, setTenantpublic boolean isProperty
isProperty in class AttributeDescriptorprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
AttributeDescriptorcreateItem in class AttributeDescriptorctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic int getPosition()
public void setPosition(int pos)
public boolean isParam()
public void setParam(boolean isParam)
public boolean isSearchable()
AttributeDescriptorAttributeDescriptor.getDatabaseColumn()and AttributeDescriptor.getPersistenceClass().isSearchable in class AttributeDescriptorpublic boolean isProperty()
isProperty in class AttributeDescriptorpublic String getPersistenceQualifier()
AttributeDescriptornull
is returned.getPersistenceQualifier in class AttributeDescriptorpublic void setPrivate(boolean b)
setPrivate in class AttributeDescriptorb - the new private statusAttributeDescriptor.isPrivate()public void setProperty(boolean b)
setProperty in class AttributeDescriptorb - the new property flag statusAttributeDescriptor.isProperty()public void setLocalized(boolean b)
setLocalized in class AttributeDescriptorb - the new localized statuspublic void setWritable(boolean b)
setWritable in class AttributeDescriptorAttributeDescriptor.isWritable()public void setReadable(boolean b)
setReadable in class AttributeDescriptorAttributeDescriptor.isReadable()public void setSearchable(boolean b)
setSearchable in class AttributeDescriptorpublic void setPartOf(boolean b)
setPartOf in class AttributeDescriptorAttributeDescriptor.isPartOf()public void setInitial(boolean b)
setInitial in class AttributeDescriptorb - the new initial flagpublic void setRemovable(boolean b)
setRemovable in class AttributeDescriptorAttributeDescriptor.isRemovable()protected Map getXMLCustomProperties()
AttributeDescriptorgetXMLCustomProperties in class AttributeDescriptorCopyright © 2017 SAP SE. All Rights Reserved.