public class SimpleMappingStrategy extends AbstractMappingStrategy
attr, attributes, ec, mmd, name, op, type
Constructor and Description |
---|
SimpleMappingStrategy(org.datanucleus.state.ObjectProvider sm,
org.datanucleus.metadata.AbstractMemberMetaData mmd,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
Object |
fetch()
Fetches the value(s) from LDAP
|
protected Enum |
fetchEnumField(Class type) |
List<String> |
getAttributeNames()
Gets the attribute names needed to fetch the field.
|
void |
insert(Object value)
Inserts the given value(s) into LDAP.
|
void |
update(Object value)
Updates the given value(s) in LDAP.
|
public SimpleMappingStrategy(org.datanucleus.state.ObjectProvider sm, org.datanucleus.metadata.AbstractMemberMetaData mmd, Attributes attributes)
public Object fetch()
AbstractMappingStrategy
fetch
in class AbstractMappingStrategy
public void insert(Object value)
AbstractMappingStrategy
insert
in class AbstractMappingStrategy
value
- the value(s)public void update(Object value)
AbstractMappingStrategy
update
in class AbstractMappingStrategy
value
- the value(spublic List<String> getAttributeNames()
AbstractMappingStrategy
getAttributeNames
in class AbstractMappingStrategy
Copyright © 2020. All rights reserved.