public abstract class Association extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
CLASS |
static String |
SOURCE |
static String |
TARGET |
Modifier | Constructor and Description |
---|---|
protected |
Association(Class<? extends Model> source,
Class<? extends Model> target) |
|
Association(Map<String,Object> map) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Model> |
getSourceClass()
Returns source class of this association.
|
Class<? extends Model> |
getTargetClass()
Returns target class of this association.
|
int |
hashCode() |
Map<String,Object> |
toMap() |
public static final String SOURCE
public static final String TARGET
public static final String CLASS
public Association(Map<String,Object> map) throws ClassNotFoundException
ClassNotFoundException
public Class<? extends Model> getSourceClass()
public Class<? extends Model> getTargetClass()
Copyright © 2019 JavaLite. All rights reserved.