Interface PrismPropertyDefinition<T>

    • Method Detail

      • defaultValue

        T defaultValue()
      • getValueType

        @Deprecated
        QName getValueType()
        Deprecated.
        Returns QName of the property value type.

        The returned type is either XSD simple type or complex type. It may not be defined in the same schema (especially if it is standard XSD simple type).

        Returns:
        QName of the property value type NOTE: This is very strange property. Isn't it the same as typeName(). It is even not used in midPoint. Marking as deprecated.
      • isAnyType

        default boolean isAnyType()
      • getMatchingRuleQName

        QName getMatchingRuleQName()
      • instantiate

        @NotNull
        @NotNull PrismProperty<T> instantiate()
        Description copied from interface: ItemDefinition
        Create an item instance. Definition name or default name will used as an element name for the instance. The instance will otherwise be empty.
        Specified by:
        instantiate in interface ItemDefinition<T>
        Returns:
        created item instance
      • instantiate

        @NotNull
        @NotNull PrismProperty<T> instantiate​(QName name)
        Description copied from interface: ItemDefinition
        Create an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.
        Specified by:
        instantiate in interface ItemDefinition<T>
        Returns:
        created item instance
      • getTypeClass

        Class<T> getTypeClass()
        Description copied from interface: Definition
        Returns a compile-time class that is used to represent items. E.g. returns String, Integer, sublcasses of Objectable and Containerable and so on.
        Specified by:
        getTypeClass in interface Definition