public abstract class AdsBaseBean extends Object
Modifier | Constructor and Description |
---|---|
protected |
AdsBaseBean()
Create a new BaseBean instance
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
org.apache.directory.api.ldap.model.name.Dn |
getDn() |
boolean |
isDisabled()
a convenient method to finding if this bean was disabled in the config
|
boolean |
isEnabled() |
void |
setDescription(String description)
Sets the component description
|
void |
setDn(org.apache.directory.api.ldap.model.name.Dn dn) |
void |
setEnabled(boolean enabled)
Enable or disable the component
|
String |
toString() |
String |
toString(String tabs) |
protected String |
toString(String tabs,
String name,
boolean value)
Formated print of a boolean
|
protected String |
toString(String tabs,
String name,
org.apache.directory.api.ldap.model.name.Dn value)
Formated print of a Dn that can be null
|
protected String |
toString(String tabs,
String name,
long value)
Formated print of a long
|
protected String |
toString(String tabs,
String name,
String value)
Formated print of a String that can be null
|
public boolean isEnabled()
true
if the component is enabledpublic void setEnabled(boolean enabled)
enabled
- if true
, the component is enabled.public String getDescription()
public void setDescription(String description)
description
- The descriptionprotected String toString(String tabs, String name, boolean value)
protected String toString(String tabs, String name, String value)
protected String toString(String tabs, String name, org.apache.directory.api.ldap.model.name.Dn value)
public final boolean isDisabled()
public void setDn(org.apache.directory.api.ldap.model.name.Dn dn)
public org.apache.directory.api.ldap.model.name.Dn getDn()
Copyright © 2017. All rights reserved.