|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IdFactory
Interface of factories for Ids and keys.
| Field Summary | |
|---|---|
static IdFactory |
DEFAULT_INSTANCE
The Id factory for default Id/key implementation. |
| Method Summary | |
|---|---|
Id |
createId(java.lang.String source,
Key key)
create a new Id. |
Id |
createId(java.lang.String source,
Key sourceKey,
java.util.List<Key> elementKeys,
java.util.List<java.lang.String> fragmentNames)
create a complete Id with optional element keys and fragment names. |
Id |
createId(java.lang.String source,
java.util.Map<java.lang.String,java.lang.String> keyValues)
create an Id with a key created from the given name-value mapping. |
Id |
createId(java.lang.String source,
java.lang.String simpleKeyValue)
create an Id with a simple unnamed key. |
Id |
createId(java.lang.String source,
java.lang.String simpleKeyName,
java.lang.String simpleKeyValue)
create an Id with a simple named key. |
Key |
createKey(java.util.Map<java.lang.String,java.lang.String> keyValues)
create a key from the given name-value mapping. |
Key |
createKey(java.lang.String simpleKeyValue)
create a simple unnamed key. |
Key |
createKey(java.lang.String simpleKeyName,
java.lang.String simpleKeyValue)
create a simple named key. |
| Field Detail |
|---|
static final IdFactory DEFAULT_INSTANCE
| Method Detail |
|---|
Id createId(java.lang.String source,
Key key)
source - data source namekey - key of object in data source
Id createId(java.lang.String source,
java.lang.String simpleKeyValue)
source - data source namesimpleKeyValue - key value
Id createId(java.lang.String source,
java.lang.String simpleKeyName,
java.lang.String simpleKeyValue)
source - data source namesimpleKeyName - key namesimpleKeyValue - key value
Id createId(java.lang.String source,
java.util.Map<java.lang.String,java.lang.String> keyValues)
source - data source namekeyValues - name-value mapping for key
Id createId(java.lang.String source,
Key sourceKey,
java.util.List<Key> elementKeys,
java.util.List<java.lang.String> fragmentNames)
source - data source namesourceKey - name-value mapping for keyelementKeys - container element keys. can be null or empty for non-container-element IdsfragmentNames - fragment names, can be null or empty for non-fragment Ids
Key createKey(java.lang.String simpleKeyValue)
simpleKeyValue - key value
Key createKey(java.lang.String simpleKeyName,
java.lang.String simpleKeyValue)
simpleKeyName - key namesimpleKeyValue - key value
Key createKey(java.util.Map<java.lang.String,java.lang.String> keyValues)
keyValues - name-value mapping for key
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||