Package org.apache.ofbiz.entity.model
Class ModelViewEntity.ModelConversion
- java.lang.Object
-
- org.apache.ofbiz.entity.model.ModelViewEntity.ModelConversion
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelViewEntity
public final class ModelViewEntity.ModelConversion extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
aliasName
java.util.Map<java.lang.String,java.lang.String>
fieldMap
ModelEntity
fromModelEntity
java.util.Set<java.lang.String>
wildcards
-
Constructor Summary
Constructors Constructor Description ModelConversion(java.lang.String aliasName, ModelEntity fromModelEntity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllAliasConversions(java.lang.String fieldName, java.lang.String... aliases)
void
addAllAliasConversions(java.util.List<java.lang.String> aliases, java.lang.String fieldName)
void
addConversion(java.lang.String fromFieldName, java.lang.String toFieldName)
void
convert(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> values, java.util.Map<java.lang.String,? extends java.lang.Object> value)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
aliasName
public final java.lang.String aliasName
-
fromModelEntity
public final ModelEntity fromModelEntity
-
fieldMap
public final java.util.Map<java.lang.String,java.lang.String> fieldMap
-
wildcards
public final java.util.Set<java.lang.String> wildcards
-
-
Constructor Detail
-
ModelConversion
public ModelConversion(java.lang.String aliasName, ModelEntity fromModelEntity)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
addConversion
public void addConversion(java.lang.String fromFieldName, java.lang.String toFieldName)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convert
public void convert(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> values, java.util.Map<java.lang.String,? extends java.lang.Object> value)
-
addAllAliasConversions
public void addAllAliasConversions(java.lang.String fieldName, java.lang.String... aliases)
-
addAllAliasConversions
public void addAllAliasConversions(java.util.List<java.lang.String> aliases, java.lang.String fieldName)
-
-