public class BelongsToPolymorphicAssociation extends Association
| Modifier and Type | Field and Description |
|---|---|
static String |
PARENT |
static String |
TYPE |
CLASS, SOURCE, TARGET| Constructor and Description |
|---|
BelongsToPolymorphicAssociation(Class<? extends Model> sourceModelClass,
Class<? extends Model> targetModelClass,
String typeLabel,
String parentClassName) |
BelongsToPolymorphicAssociation(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getParentClassName() |
String |
getTypeLabel() |
Map<String,Object> |
toMap() |
String |
toString() |
getSourceClass, getTargetClass, hashCodepublic static final String TYPE
public static final String PARENT
public BelongsToPolymorphicAssociation(Map<String,Object> map) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2022 JavaLite. All rights reserved.