Class ExpressionWrapper

All Implemented Interfaces:
ItemWrapper<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>>, PrismPropertyWrapper<ExpressionType>, Definition, Freezable, ItemDefinition<PrismProperty<ExpressionType>>, PrismContextSensitive, PrismItemAccessDefinition, PrismPropertyDefinition<ExpressionType>, Revivable, SmartVisitable<Definition>, Visitable<Definition>, DebugDumpable, Serializable, Cloneable

public class ExpressionWrapper extends PrismPropertyWrapperImpl<ExpressionType>
Created by honchar
See Also:
  • Constructor Details

  • Method Details

    • isConstructionExpression

      public boolean isConstructionExpression()
    • isAssociationExpression

      public boolean isAssociationExpression()
    • isAttributeExpression

      public boolean isAttributeExpression()
    • getConstruction

      public ConstructionType getConstruction()
    • setConstruction

      public void setConstruction(ConstructionType construction)
    • getDisplayOrder

      public Integer getDisplayOrder()
      Description copied from interface: Definition
      Specifies an order in which the item should be displayed relative to other items at the same level. The items will be displayed by sorting them by the values of displayOrder annotation (ascending). Items that do not have any displayOrder annotation will be displayed last. The ordering of values with the same displayOrder is undefined and it may be arbitrary.
      Specified by:
      getDisplayOrder in interface Definition
      Overrides:
      getDisplayOrder in class ItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>>
    • getTypeName

      @NotNull public @NotNull QName getTypeName()
      Description copied from interface: Definition
      Returns a name of the type for this definition. The type can be part of the compile-time schema or it can be defined at run time. Examples of the former case are types like c:UserType, xsd:string, or even flexible ones like c:ExtensionType or c:ShadowAttributesType. Examples of the latter case are types used in - custom extensions, like ext:LocationsType (where ext = e.g. http://example.com/extension), - resource schema, like ri:inetOrgPerson (ri = http://.../resource/instance-3), - connector schema, like TODO In XML representation that corresponds to the name of the XSD type. Although beware, the run-time types do not have statically defined structure. And the resource and connector-related types may even represent different kinds of objects within different contexts (e.g. two distinct resources both with ri:AccountObjectClass types). Also note that for complex type definitions, the type name serves as a unique identifier. On the other hand, for item definitions, it is just one of its attributes; primary key is item name in that case. The type name should be fully qualified. (TODO reconsider this)
      Specified by:
      getTypeName in interface Definition
      Overrides:
      getTypeName in class ItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>>
      Returns:
      the type name
    • addValueToDelta

      protected <D extends ItemDelta<? extends PrismValue, ? extends ItemDefinition>> void addValueToDelta(PrismPropertyValueWrapper<ExpressionType> value, D delta) throws SchemaException
      Overrides:
      addValueToDelta in class ItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>>
      Throws:
      SchemaException