public interface IBean extends Cloneable, Serializable
An object is described in this bean as datasets (set of named values) and main identifier.
Most methods are convenience methods to get the values of each dataset.
Modifier and Type | Method and Description |
---|---|
IBean |
clone()
Clone this object.
|
LscDatasets |
datasets() |
Set<Object> |
getAttributeAsSetById(String id)
Deprecated.
|
Attribute |
getAttributeById(String id)
Deprecated.
|
String |
getAttributeFirstValueById(String id)
Deprecated.
|
Set<String> |
getAttributesNames()
Deprecated.
Since LSC 2.0
|
List<String> |
getAttributeValuesById(String id)
Deprecated.
See getDatasetById(String id)
|
Set<Object> |
getDatasetById(String id)
Get an dataset from its name.
|
byte[] |
getDatasetFirstBinaryValueById(String id)
Get the first binary value of an attribute from its name
|
String |
getDatasetFirstValueById(String id)
Get the first value of an attribute from its name
|
String |
getDistinguishedName()
Deprecated.
Since LSC 2.0 - switch to getMainIdentifier()
|
String |
getMainIdentifier() |
void |
setAttribute(Attribute attr)
Deprecated.
Since LSC 2.0
|
void |
setAttribute(String attrName,
Set<Object> attrValues)
Deprecated.
Since LSC 2.0
|
void |
setDataset(String name,
Set<Object> values)
Set an dataset.
|
void |
setDatasets(LscDatasets datasets) |
void |
setDistinguishName(String dn)
Deprecated.
Since LSC 2.0 - switch to setMainIdentifier(String mainIdentifier)
|
void |
setMainIdentifier(String mainIdentifier) |
@Deprecated Attribute getAttributeById(String id)
id
- the nameSet<Object> getDatasetById(String id)
id
- the name@Deprecated Set<Object> getAttributeAsSetById(String id)
id
- the name@Deprecated String getAttributeFirstValueById(String id) throws NamingException
id
- The attribute name (case insensitive)NamingException
String getDatasetFirstValueById(String id) throws NamingException
id
- The attribute name (case insensitive)NamingException
byte[] getDatasetFirstBinaryValueById(String id) throws NamingException
id
- The attribute name (case insensitive)NamingException
@Deprecated List<String> getAttributeValuesById(String id) throws NamingException
id
- The attribute name (case insensitive)NamingException
@Deprecated Set<String> getAttributesNames()
@Deprecated void setAttribute(Attribute attr)
attr
- the attribute to set@Deprecated void setAttribute(String attrName, Set<Object> attrValues)
attrName
- The attribute name.attrValues
- A set of values for the attribute.void setDataset(String name, Set<Object> values)
name
- The dataset name.values
- A set of values for this dataset.@Deprecated String getDistinguishedName()
@Deprecated void setDistinguishName(String dn)
dn
- The distinguishedName to setvoid setDatasets(LscDatasets datasets)
LscDatasets datasets()
String getMainIdentifier()
void setMainIdentifier(String mainIdentifier)
IBean clone() throws CloneNotSupportedException
CloneNotSupportedException
Copyright © 2005-2024 LSC project. All Rights Reserved.