Interface DefinitionFragmentBuilder

All Known Subinterfaces:
ComplexTypeDefinition.ComplexTypeDefinitionLikeBuilder, Definition.DefinitionBuilder, ItemDefinition.ItemDefinitionLikeBuilder, NativeObjectClassDefinition.NativeObjectClassDefinitionBuilder, NativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder, NativeShadowSimpleAttributeDefinition.NativeShadowAttributeDefinitionBuilder<T>, PrismPropertyDefinition.PrismPropertyLikeDefinitionBuilder<T>, PrismReferenceDefinition.PrismReferenceDefinitionBuilder, SimpleTypeDefinition.SimpleTypeDefinitionBuilder, TypeDefinition.TypeDefinitionLikeBuilder
All Known Implementing Classes:
com.evolveum.midpoint.prism.impl.ItemDefinitionImpl, NativeComplexTypeDefinitionImpl, NativeShadowAttributeDefinitionImpl, com.evolveum.midpoint.prism.impl.PrismContainerDefinitionImpl, ResourceAttributeContainerDefinitionImpl, ShadowAssociationsContainerDefinitionImpl

public interface DefinitionFragmentBuilder
Root of all those definition builders. Work in progress. Consider renaming.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    fixed(String name, Object value, Object fixedValue)
    Useful for builders that intentionally want to reject changing a property to other than prescribed value.
     
    static void
    unsupported(String name, boolean value)
    Useful for builders that want to keep a Boolean property turned off.
    static void
    unsupported(String name, Object value)
    Useful for builders that do not want to change a property at all.
  • Method Details

    • getObjectBuilt

      Object getObjectBuilt()
    • fixed

      static void fixed(String name, Object value, Object fixedValue)
      Useful for builders that intentionally want to reject changing a property to other than prescribed value.
    • unsupported

      static void unsupported(String name, Object value)
      Useful for builders that do not want to change a property at all.
    • unsupported

      static void unsupported(String name, boolean value)
      Useful for builders that want to keep a Boolean property turned off.