edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition
Class ValueMap.SourceValue

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ValueMap.SourceValue
Enclosing class:
ValueMap

public class ValueMap.SourceValue
extends Object

Represents incoming attribute values and rules used for matching them. The value may include regular expressions.


Field Summary
private  boolean ignoreCase
          Whether case should be ignored when matching.
private  boolean partialMatch
          Whether partial matches should be allowed.
private  String value
          Value string.
 
Constructor Summary
ValueMap.SourceValue(String newValue, boolean newIgnoreCase, boolean newPartialMatch)
          Constructor.
 
Method Summary
 String getValue()
          Gets the value string.
 boolean isIgnoreCase()
          Gets whether case should be ignored when matching.
 boolean isPartialMatch()
          Gets whether partial matches should be allowed.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private String value
Value string. This may contain regular expressions.


ignoreCase

private boolean ignoreCase
Whether case should be ignored when matching.


partialMatch

private boolean partialMatch
Whether partial matches should be allowed.

Constructor Detail

ValueMap.SourceValue

public ValueMap.SourceValue(String newValue,
                            boolean newIgnoreCase,
                            boolean newPartialMatch)
Constructor.

Parameters:
newValue - value string
newIgnoreCase - whether case should be ignored when matching
newPartialMatch - whether partial matches should be allowed
Method Detail

isIgnoreCase

public boolean isIgnoreCase()
Gets whether case should be ignored when matching.

Returns:
whether case should be ignored when matching

isPartialMatch

public boolean isPartialMatch()
Gets whether partial matches should be allowed.

Returns:
whether partial matches should be allowed

getValue

public String getValue()
Gets the value string.

Returns:
the value string.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 1999-2012. All Rights Reserved.