public abstract class AbstractMappingStrategy extends Object
Modifier and Type | Field and Description |
---|---|
protected Attribute |
attr
The JNDI attribute for the given field.
|
protected Attributes |
attributes
The JNDI attributes.
|
protected org.datanucleus.ExecutionContext |
ec |
protected org.datanucleus.metadata.AbstractMemberMetaData |
mmd
The field meta data for the given field.
|
protected String |
name
The LDAP attribute name of the field meta data.
|
protected org.datanucleus.state.ObjectProvider |
op
ObjectProvider.
|
protected Class |
type
The type of the field meta data.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractMappingStrategy(org.datanucleus.state.ObjectProvider op,
org.datanucleus.metadata.AbstractMemberMetaData mmd,
Attributes attributes)
Instantiates a new abstract mapping strategy.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
fetch()
Fetches the value(s) from LDAP
|
abstract List<String> |
getAttributeNames()
Gets the attribute names needed to fetch the field.
|
abstract void |
insert(Object value)
Inserts the given value(s) into LDAP.
|
abstract void |
update(Object value)
Updates the given value(s) in LDAP.
|
protected org.datanucleus.ExecutionContext ec
protected org.datanucleus.state.ObjectProvider op
protected Attributes attributes
protected Attribute attr
protected org.datanucleus.metadata.AbstractMemberMetaData mmd
protected Class type
protected String name
protected AbstractMappingStrategy(org.datanucleus.state.ObjectProvider op, org.datanucleus.metadata.AbstractMemberMetaData mmd, Attributes attributes)
op
- ObjectProvidermmd
- Metadata for the memberattributes
- the attributespublic abstract void insert(Object value)
value
- the value(s)public abstract void update(Object value)
value
- the value(spublic abstract Object fetch()
Copyright © 2020. All rights reserved.