Enum Class PropertyType

java.lang.Object
java.lang.Enum<PropertyType>
de.mid.innovator.m2msdk.model.transformation.property.PropertyType
All Implemented Interfaces:
PropertyTypeIF, Serializable, Comparable<PropertyType>, Constable

public enum PropertyType extends Enum<PropertyType> implements PropertyTypeIF
Possible property types supported by all meta models. You may extend this enumeration by implementing the interface.
Version:
10.1.1
Author:
jmback
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Anchor of the current source (only available t embedding has been computed.
    And Operator
    Compute the average of all number arguments
    Detect if a string is more likely a boolean true or a boolean false.
    Collect operator executes the property in the second parameter on each element of the input list and returns a list of results
    Compares to argument with the give compare operator and returns the reuslt
    Composite operator executes the property in the second parameter on the result of the first parameter.
    Check if inside a list of mapping elements (returned by the first parameter) there is one mapping element which is in the second parameter
    Model element in context, e.g.
    Compute first argument minus all following arguments
    Compute the division of the first and second argument
    Equals Operator
    An error has occurred in the property expression
    Property for using options from the option model.
    Check if inside a list of mapping elements (returned by the first parameter) there is one mapping element which is conform to the boolean expression in the second parameter
    Access to a single file as java.io.File via its absolute file name.
     
     
    Constant value (is only used implicitly)
     
     
     
    Has Value of Element
    Property indicating if the model element has been mapped as source in the given step in a specific mode.
    Property indicating if the model element has been changed in a specific property.
    Has the stereotype property of the object the default value?
    Property indicating if the model element has been mapped as target in the given step in a specific mode.
    Left term
    Compute on each element of the list a string property and concatenate results with an infix
    Property returning the first parameter not empty from left to right
    Property returning the first parameter not empty from left to right
    Index of second parameter in first parameter list
    Intersect all lists
    Is the list empty?
    Is element existing or if list NOT empty
    Index of second parameter in first parameter list
    Order the list in the first parameter by the second parameter
    Returns a list range.
    Reverse the content of the list
    Size of a list of elements
    Subtract second list from first list
    Union all lists
    Property returning the target of a source model element for the given step(s).
    Compute the maximum of all number arguments
    Compute the minimum of all number arguments
    Compute the modulo of the first and second argument
    Compute multiple of all arguments
    Not Operator
    Not And Operator
    NotOr Operator
    Null function
    Property referring another model element
    Property referring a list of other model elements
     
    Property for using options from the option model.
    Content of an option will be StringMap Evaluated
    Or Operator
    Property returning the source of a target model element for the given step(s).
    Property returning the path of the element absolute or relative
    Determines the elements path depth
    A normal property
    Determine Proxy State ( RemoteOrphaned, LocalOrphaned, Connected )
    Reject Operator, multiple parameters are linked with AND
    Additional Entry to Relationsmodel
    Right term
    Select Operator, multiple parameters are linked with AND
    Stereotype properties of the object
    Get all elements from a specific store
    Property concatenating constant strings and string results of other properties
    Property returning true if first property is contained in any following property
    Property returning the first parameter not empty from left to right
    Return a formatted string according to format string in first argument and further arguments.
    Property returning index of occurrence of second string in first string,
    Property returning index of occurrence of second string in first string,
    Dynamically add a key/value expression, usable for e.g.
    Calculates the length of a string value
    Property converting a string or another PropertyDescriptor to lower case
    Map contents from one value to an other
    Property returning true if first property is contained in any following property
    Property returning the message text.
    Evaluates a regular expression
    Concatenate the given string repeatedly the given number of times.
    Replace parts of the String with other Strings in given order
    Reverse the order of the characters in the string.
    A named temporary store for string expressions to achieve a flat and manageable expression structure
    Property extracting a string from a string or another PropertyDescriptor.
    Trim the string.
    Property converting a string or another PropertyDescriptor to upper case
    Compute sum of all arguments
     
     
    Terms is a assignment or an equals
    XOR Operator
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(String iValue)
    Does this value equal the property type?
    Get the input type of this property type.
    int
    Get lower bound of number of sub descriptors.
    Get the result type of this property type.
    int
    Get upper bound of number of sub descriptors.
    boolean
    isValid(String iValue)
    Is this value valid as property type?
    Returns the enum constant of this class with the specified name.
    static PropertyType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface PropertyTypeIF

    name
  • Enum Constant Details

    • Anchor

      public static final PropertyType Anchor
      Anchor of the current source (only available t embedding has been computed.
    • And

      public static final PropertyType And
      And Operator
    • Avg

      public static final PropertyType Avg
      Compute the average of all number arguments
    • Boolean

      public static final PropertyType Boolean
      Detect if a string is more likely a boolean true or a boolean false.
    • Collect

      public static final PropertyType Collect
      Collect operator executes the property in the second parameter on each element of the input list and returns a list of results
    • Compare

      public static final PropertyType Compare
      Compares to argument with the give compare operator and returns the reuslt
    • Composite

      public static final PropertyType Composite
      Composite operator executes the property in the second parameter on the result of the first parameter.
    • Contains

      public static final PropertyType Contains
      Check if inside a list of mapping elements (returned by the first parameter) there is one mapping element which is in the second parameter
    • Context

      public static final PropertyType Context
      Model element in context, e.g. this, source element, target element, is a single element
    • Diff

      public static final PropertyType Diff
      Compute first argument minus all following arguments
    • Div

      public static final PropertyType Div
      Compute the division of the first and second argument
    • Error

      public static final PropertyType Error
      An error has occurred in the property expression
    • Equals

      public static final PropertyType Equals
      Equals Operator
    • Exists

      public static final PropertyType Exists
      Check if inside a list of mapping elements (returned by the first parameter) there is one mapping element which is conform to the boolean expression in the second parameter
    • File

      public static final PropertyType File
      Access to a single file as java.io.File via its absolute file name.
    • FilterType

      public static final PropertyType FilterType
    • FilterName

      public static final PropertyType FilterName
    • Fix

      public static final PropertyType Fix
      Constant value (is only used implicitly)
    • FunctionDefinition

      public static final PropertyType FunctionDefinition
    • FunctionParameter

      public static final PropertyType FunctionParameter
    • Function

      public static final PropertyType Function
    • IsElementMapped

      public static final PropertyType IsElementMapped
      Property indicating if the model element has been mapped as source in the given step in a specific mode.
    • IsElementPropertyChanged

      public static final PropertyType IsElementPropertyChanged
      Property indicating if the model element has been changed in a specific property.
    • IsStereotypePropertyDefault

      public static final PropertyType IsStereotypePropertyDefault
      Has the stereotype property of the object the default value?
    • IsTargetElementMapped

      public static final PropertyType IsTargetElementMapped
      Property indicating if the model element has been mapped as target in the given step in a specific mode.
    • Hash

      public static final PropertyType Hash
      Has Value of Element
    • Left

      public static final PropertyType Left
      Left term
    • ListAggregate

      public static final PropertyType ListAggregate
      Compute on each element of the list a string property and concatenate results with an infix
    • ListContains

      public static final PropertyType ListContains
      Property returning the first parameter not empty from left to right
    • ListFirstNonEmpty

      public static final PropertyType ListFirstNonEmpty
      Property returning the first parameter not empty from left to right
    • ListIndexOf

      public static final PropertyType ListIndexOf
      Index of second parameter in first parameter list
    • ListIntersect

      public static final PropertyType ListIntersect
      Intersect all lists
    • ListIsEmpty

      public static final PropertyType ListIsEmpty
      Is the list empty?
    • ListNotEmpty

      public static final PropertyType ListNotEmpty
      Is element existing or if list NOT empty
    • ListOf

      public static final PropertyType ListOf
      Index of second parameter in first parameter list
    • ListOrderBy

      public static final PropertyType ListOrderBy
      Order the list in the first parameter by the second parameter
    • ListSize

      public static final PropertyType ListSize
      Size of a list of elements
    • ListSubtract

      public static final PropertyType ListSubtract
      Subtract second list from first list
    • ListRange

      public static final PropertyType ListRange
      Returns a list range.
    • ListReverse

      public static final PropertyType ListReverse
      Reverse the content of the list
    • ListUnion

      public static final PropertyType ListUnion
      Union all lists
    • MappedElement

      public static final PropertyType MappedElement
      Property returning the target of a source model element for the given step(s). First matching stops evaluation.
    • Max

      public static final PropertyType Max
      Compute the maximum of all number arguments
    • Min

      public static final PropertyType Min
      Compute the minimum of all number arguments
    • Mod

      public static final PropertyType Mod
      Compute the modulo of the first and second argument
    • Mul

      public static final PropertyType Mul
      Compute multiple of all arguments
    • Not

      public static final PropertyType Not
      Not Operator
    • NotAnd

      public static final PropertyType NotAnd
      Not And Operator
    • NotOr

      public static final PropertyType NotOr
      NotOr Operator
    • Null

      public static final PropertyType Null
      Null function
    • Object

      public static final PropertyType Object
      Property referring another model element
    • Objects

      public static final PropertyType Objects
      Property referring a list of other model elements
    • OneOf

      public static final PropertyType OneOf
    • Option

      public static final PropertyType Option
      Property for using options from the option model.
    • OptionStringMap

      public static final PropertyType OptionStringMap
      Content of an option will be StringMap Evaluated
    • EvaluationOption

      public static final PropertyType EvaluationOption
      Property for using options from the option model. The Option's value will be re evaluated.
    • Or

      public static final PropertyType Or
      Or Operator
    • OriginalElement

      public static final PropertyType OriginalElement
      Property returning the source of a target model element for the given step(s). First matching stops evaluation.
    • Path

      public static final PropertyType Path
      Property returning the path of the element absolute or relative
    • PathDepth

      public static final PropertyType PathDepth
      Determines the elements path depth
    • Property

      public static final PropertyType Property
      A normal property
    • ProxyState

      public static final PropertyType ProxyState
      Determine Proxy State ( RemoteOrphaned, LocalOrphaned, Connected )
    • Reject

      public static final PropertyType Reject
      Reject Operator, multiple parameters are linked with AND
    • RelationModel

      public static final PropertyType RelationModel
      Additional Entry to Relationsmodel
    • Select

      public static final PropertyType Select
      Select Operator, multiple parameters are linked with AND
    • StereotypeProperty

      public static final PropertyType StereotypeProperty
      Stereotype properties of the object
    • Store

      public static final PropertyType Store
      Get all elements from a specific store
    • StringConcat

      public static final PropertyType StringConcat
      Property concatenating constant strings and string results of other properties
    • StringContains

      public static final PropertyType StringContains
      Property returning true if first property is contained in any following property
    • StringFirstNonEmpty

      public static final PropertyType StringFirstNonEmpty
      Property returning the first parameter not empty from left to right
    • StringFormat

      public static final PropertyType StringFormat
      Return a formatted string according to format string in first argument and further arguments.
    • StringIsEmpty

      public static final PropertyType StringIsEmpty
      Property returning index of occurrence of second string in first string,
    • StringIndexOf

      public static final PropertyType StringIndexOf
      Property returning index of occurrence of second string in first string,
    • StringKeyValuePair

      public static final PropertyType StringKeyValuePair
      Dynamically add a key/value expression, usable for e.g. StringMap
    • StringLength

      public static final PropertyType StringLength
      Calculates the length of a string value
    • StringLower

      public static final PropertyType StringLower
      Property converting a string or another PropertyDescriptor to lower case
    • StringMap

      public static final PropertyType StringMap
      Map contents from one value to an other
    • StringMatches

      public static final PropertyType StringMatches
      Property returning true if first property is contained in any following property
    • StringMessage

      public static final PropertyType StringMessage
      Property returning the message text. The message id is in the first parameter and further parameters are arguments to the message like in StringFormat.
    • StringRepeat

      public static final PropertyType StringRepeat
      Concatenate the given string repeatedly the given number of times.
    • StringReplace

      public static final PropertyType StringReplace
      Replace parts of the String with other Strings in given order
    • StringRegexp

      public static final PropertyType StringRegexp
      Evaluates a regular expression
    • StringReverse

      public static final PropertyType StringReverse
      Reverse the order of the characters in the string.
    • StringStore

      public static final PropertyType StringStore
      A named temporary store for string expressions to achieve a flat and manageable expression structure
    • StringSubstring

      public static final PropertyType StringSubstring
      Property extracting a string from a string or another PropertyDescriptor. The start and end index have to be provided as second and third in the list.
    • StringTrim

      public static final PropertyType StringTrim
      Trim the string.
    • StringUpper

      public static final PropertyType StringUpper
      Property converting a string or another PropertyDescriptor to upper case
    • Switch

      public static final PropertyType Switch
    • SwitchBoolean

      public static final PropertyType SwitchBoolean
    • Sum

      public static final PropertyType Sum
      Compute sum of all arguments
    • Terms

      public static final PropertyType Terms
      Terms is a assignment or an equals
    • XOr

      public static final PropertyType XOr
      XOR Operator
  • Method Details

    • values

      public static PropertyType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropertyType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isValid

      public boolean isValid(String iValue)
      Description copied from interface: PropertyTypeIF
      Is this value valid as property type?
      Specified by:
      isValid in interface PropertyTypeIF
      Parameters:
      iValue - Property type as string
      Returns:
      true, if the property type is valid
    • equals

      public boolean equals(String iValue)
      Description copied from interface: PropertyTypeIF
      Does this value equal the property type?
      Specified by:
      equals in interface PropertyTypeIF
      Parameters:
      iValue - Property type as string
      Returns:
      true, if the property type is equal
    • getResult

      public ResultAndParameterType getResult()
      Description copied from interface: PropertyTypeIF
      Get the result type of this property type.
      Specified by:
      getResult in interface PropertyTypeIF
      Returns:
      result type of the property descriptors having this property type.
    • getLowerBound

      public int getLowerBound()
      Description copied from interface: PropertyTypeIF
      Get lower bound of number of sub descriptors.
      Specified by:
      getLowerBound in interface PropertyTypeIF
      Returns:
      minimum number of sub descriptors
    • getUpperBound

      public int getUpperBound()
      Description copied from interface: PropertyTypeIF
      Get upper bound of number of sub descriptors.
      Specified by:
      getUpperBound in interface PropertyTypeIF
      Returns:
      maximum number of sub descriptors
    • getInput

      public InputType getInput()
      Description copied from interface: PropertyTypeIF
      Get the input type of this property type.
      Specified by:
      getInput in interface PropertyTypeIF
      Returns:
      input type of the property descriptors having this property type.