|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.core.convert.QueryMapper.Field
protected static class QueryMapper.Field
Value object to represent a field and its meta-information.
| Field Summary | |
|---|---|
protected String |
name
|
| Constructor Summary | |
|---|---|
QueryMapper.Field(String name)
Creates a new DocumentField without meta-information but the given name. |
|
| Method Summary | |
|---|---|
String |
getMappedKey()
Returns the key to be used in the mapped document eventually. |
MongoPersistentProperty |
getProperty()
Returns the underlying MongoPersistentProperty backing the field. |
MongoPersistentEntity<?> |
getPropertyEntity()
Returns the MongoPersistentEntity that field is conatined in. |
boolean |
isAssociation()
Returns whether the field represents an association. |
boolean |
isIdField()
Returns whether the current field is the id field. |
QueryMapper.Field |
with(String name)
Returns a new DocumentField with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String name
| Constructor Detail |
|---|
public QueryMapper.Field(String name)
DocumentField without meta-information but the given name.
name - must not be null or empty.| Method Detail |
|---|
public QueryMapper.Field with(String name)
DocumentField with the given name.
name - must not be null or empty.
public boolean isIdField()
public MongoPersistentProperty getProperty()
MongoPersistentProperty backing the field.
public MongoPersistentEntity<?> getPropertyEntity()
MongoPersistentEntity that field is conatined in.
public boolean isAssociation()
public String getMappedKey()
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||