Class Model

java.lang.Object
eu.mihosoft.vmf.core.Model

@Deprecated
public class Model
extends java.lang.Object
Deprecated.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<ModelType> getAllTypesThatImplement​(ModelType mT)
    Deprecated.
    Returns all types that implement the specified type.
    ModelConfig getModelConfig()
    Deprecated.
     
    java.lang.String getPackageName()
    Deprecated.
     
    java.util.List<ModelType> getTypes()
    Deprecated.
     
    boolean isModelType​(java.lang.String type)
    Deprecated.
     
    static Model newInstance​(java.lang.Class<?>... interfaces)
    Deprecated.
     
    java.util.Optional<java.lang.Class<?>> resolveExternalType​(java.lang.String fullClassName)
    Deprecated.
     
    java.util.Optional<Prop> resolveOppositeOf​(ModelType type, java.lang.String oppositeProp)
    Deprecated.
    Resolves the specified opposite property of the given model type.
    java.util.Optional<ModelType> resolveType​(java.lang.String clazzName)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newInstance

      public static Model newInstance​(java.lang.Class<?>... interfaces)
      Deprecated.
    • getModelConfig

      public ModelConfig getModelConfig()
      Deprecated.
    • getPackageName

      public java.lang.String getPackageName()
      Deprecated.
    • getTypes

      public java.util.List<ModelType> getTypes()
      Deprecated.
    • resolveType

      public java.util.Optional<ModelType> resolveType​(java.lang.String clazzName)
      Deprecated.
    • resolveExternalType

      public java.util.Optional<java.lang.Class<?>> resolveExternalType​(java.lang.String fullClassName)
      Deprecated.
    • resolveOppositeOf

      public java.util.Optional<Prop> resolveOppositeOf​(ModelType type, java.lang.String oppositeProp)
      Deprecated.
      Resolves the specified opposite property of the given model type.
      Parameters:
      type - model type
      oppositeProp - fully qualified name of the opposite property of the given type, e.g., 'eu.mihosoft.tutorial.MyType.myProp' or simplified, i.e., without package if the package matches the current model package, e.g., 'MyType.myProp'
      Returns:
      resolved opposite property or Optional<Prop>.empty() if the specified property does not exist
    • isModelType

      public boolean isModelType​(java.lang.String type)
      Deprecated.
    • getAllTypesThatImplement

      public java.util.List<ModelType> getAllTypesThatImplement​(ModelType mT)
      Deprecated.
      Returns all types that implement the specified type.
      Parameters:
      mT - type
      Returns:
      all types that implement the specified type