Class 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
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • addConversion

        public void addConversion​(java.lang.String fromFieldName,
                                  java.lang.String toFieldName)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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)