Package eu.mihosoft.vmf.core
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.
-
Method Details
-
newInstance
Deprecated. -
getModelConfig
Deprecated. -
getPackageName
public java.lang.String getPackageName()Deprecated. -
getTypes
Deprecated. -
resolveType
Deprecated. -
resolveExternalType
public java.util.Optional<java.lang.Class<?>> resolveExternalType(java.lang.String fullClassName)Deprecated. -
resolveOppositeOf
Deprecated.Resolves the specified opposite property of the given model type.- Parameters:
type
- model typeoppositeProp
- 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
Deprecated.Returns all types that implement the specified type.- Parameters:
mT
- type- Returns:
- all types that implement the specified type
-