edu.internet2.middleware.grouperClient.commandLine
Class GcLdapSearchAttributeConfig

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.commandLine.GcLdapSearchAttributeConfig

public class GcLdapSearchAttributeConfig
extends Object

represents the configuration of an ldap search attribute

Author:
mchyzer

Nested Class Summary
static class GcLdapSearchAttributeConfig.SearchAttributeResultType
          type of result in the ldap search attribute
 
Constructor Summary
GcLdapSearchAttributeConfig()
           
 
Method Summary
 void addMatchingAttribute(String attributeLabel, String ldapAttribute)
          add matching attribute label and ldap name
 void addReturningAttribute(String ldapAttribute)
          add a returning attribute
 String getLdapName()
          ldap name
 Map<String,String> getMatchingAttributes()
          matching attribute (label to ldap name)
 String getOutputTemplate()
          output template
 Set<String> getReturningAttributes()
          returning attribute (label to ldap)
 GcLdapSearchAttributeConfig.SearchAttributeResultType getSearchAttributeResultTypeEnum()
          get the search result
 void setLdapName(String ldapName1)
          ldap name
 void setOperationName(String theOperationName)
          operation name
 void setOutputTemplate(String outputTemplate1)
          output template
 void setSearchAttributeResultType(String string)
          the result type
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GcLdapSearchAttributeConfig

public GcLdapSearchAttributeConfig()
Method Detail

getOutputTemplate

public String getOutputTemplate()
output template

Returns:
output template

setOutputTemplate

public void setOutputTemplate(String outputTemplate1)
output template

Parameters:
outputTemplate1 -

setSearchAttributeResultType

public void setSearchAttributeResultType(String string)
the result type

Parameters:
string - to convert to enum

getSearchAttributeResultTypeEnum

public GcLdapSearchAttributeConfig.SearchAttributeResultType getSearchAttributeResultTypeEnum()
get the search result

Returns:
the search result

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

setOperationName

public void setOperationName(String theOperationName)
operation name

Parameters:
theOperationName -

addMatchingAttribute

public void addMatchingAttribute(String attributeLabel,
                                 String ldapAttribute)
add matching attribute label and ldap name

Parameters:
attributeLabel -
ldapAttribute -

addReturningAttribute

public void addReturningAttribute(String ldapAttribute)
add a returning attribute

Parameters:
ldapAttribute -

getMatchingAttributes

public Map<String,String> getMatchingAttributes()
matching attribute (label to ldap name)

Returns:
matching attributes

getReturningAttributes

public Set<String> getReturningAttributes()
returning attribute (label to ldap)

Returns:
the attributes

getLdapName

public String getLdapName()
ldap name

Returns:
ldap name

setLdapName

public void setLdapName(String ldapName1)
ldap name

Parameters:
ldapName1 -