Interface PrismPropertyDefinition<T>

    • Method Detail

      • getAllowedValues

        @Nullable
        @Nullable Collection<? extends DisplayableValue<T>> getAllowedValues()
        Returns allowed values for this property.
      • defaultValue

        @Nullable
        T defaultValue()
        TODO is this ever used?
      • isIndexed

        Boolean isIndexed()
        This is XSD annotation that specifies whether a property should be indexed in the storage. It can only apply to properties. It has following meaning: true: the property must be indexed. If the storage is not able to index the value, it should indicate an error. false: the property should not be indexed. null: data store decides whether to index the property or not.
      • isAnyType

        default boolean isAnyType()
      • getMatchingRuleQName

        QName getMatchingRuleQName()
        Returns matching rule name. Matching rules are algorithms that specify how to compare, normalize and/or order the values. E.g. there are matching rules for case insensitive string comparison, for LDAP DNs, etc.
        Returns:
        matching rule name
      • instantiate

        @NotNull
        @NotNull PrismProperty<T> instantiate()
        Description copied from interface: ItemDefinition
        Create an item instance. Definition name or default name will be used as an element name for the instance. The instance will otherwise be empty.
        Specified by:
        instantiate in interface ItemDefinition<T>
      • 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>
      • 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, subclasses of Objectable and Containerable and so on.
        Specified by:
        getTypeClass in interface Definition