Class AbstractSAMLDataConnectorParser.CustomPropertyDef

java.lang.Object
net.shibboleth.idp.attribute.resolver.spring.dc.saml.impl.AbstractSAMLDataConnectorParser.CustomPropertyDef
Enclosing class:
AbstractSAMLDataConnectorParser

protected static class AbstractSAMLDataConnectorParser.CustomPropertyDef extends Object
A class for representing the definition of a custom property.
  • Field Details

    • prefix

      @Nonnull private Class<?> prefix
      Property class prefix.
    • name

      @Nonnull private String name
      Property name.
    • type

      @Nonnull private String type
      Property type.
    • reference

      private boolean reference
      Flag indicating whether property is bean reference.
    • required

      private boolean required
      Flag indicating whether property is required.
    • defaultValue

      @Nullable private String defaultValue
      Property default value.
  • Constructor Details

    • CustomPropertyDef

      protected CustomPropertyDef(@Nonnull Class<?> prefixClass, @Nonnull String propName, @Nonnull String propType, boolean isReference, boolean isRequired)
      Constructor.
      Parameters:
      prefixClass - property class prefix
      propName - property name
      propType - property type
      isReference - is property bean reference
      isRequired - is property required
    • CustomPropertyDef

      protected CustomPropertyDef(@Nonnull Class<?> prefixClass, @Nonnull String propName, @Nonnull String propType, boolean isReference, boolean isRequired, @Nullable String defaultVal)
      Constructor.
      Parameters:
      prefixClass - property class prefix
      propName - property name
      propType - property type
      isReference - is property bean reference
      isRequired - is property required
      defaultVal - the default value
  • Method Details

    • getPrefix

      @Nonnull public Class<?> getPrefix()
      Get the property class prefix.
      Returns:
      the prefix
    • getName

      @Nonnull public String getName()
      Get the property name.
      Returns:
      the name
    • getType

      @Nonnull public String getType()
      Get the property type.
      Returns:
      the type
    • isReference

      public boolean isReference()
      Get the flag indicating whether property is a bean reference.
      Returns:
      the flag
    • isRequired

      public boolean isRequired()
      Get the flag indicating whether property is required.
      Returns:
      the flag
    • getDefault

      @Nullable public String getDefault()
      Get the default value.
      Returns:
      the default value