Package org.cyclos.entities.system
Class LinkedEntityTypeMapping
- java.lang.Object
-
- org.cyclos.entities.system.LinkedEntityTypeMapping
-
public class LinkedEntityTypeMapping extends Object
Provides a mapping betweenLinkedEntityTypeand the corresponding entity type
-
-
Constructor Summary
Constructors Constructor Description LinkedEntityTypeMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<? extends SimpleEntity>getEntityType(LinkedEntityType type)Returns the entity type for the givenLinkedEntityTypestatic Property<? extends Bean,? extends LinkedEntityVO>getLinkedEntityVOProperty(LinkedEntityType type)Returns theLinkedEntityVOproperty for the givenLinkedEntityTypestatic Class<? extends LinkedEntityVO>getLinkedEntityVOType(LinkedEntityType type)Returns theLinkedEntityVOsubclass for the givenLinkedEntityTypestatic Class<? extends EntityVO>getVoType(LinkedEntityType type)Returns a default VO type for the givenLinkedEntityTypeCAUTION: This method is not intended to be used as a way to resolve to the final VO, the CustomFieldValueHandler should be used instead.
-
-
-
Method Detail
-
getEntityType
public static Class<? extends SimpleEntity> getEntityType(LinkedEntityType type)
Returns the entity type for the givenLinkedEntityType
-
getLinkedEntityVOProperty
public static Property<? extends Bean,? extends LinkedEntityVO> getLinkedEntityVOProperty(LinkedEntityType type)
Returns theLinkedEntityVOproperty for the givenLinkedEntityType
-
getLinkedEntityVOType
public static Class<? extends LinkedEntityVO> getLinkedEntityVOType(LinkedEntityType type)
Returns theLinkedEntityVOsubclass for the givenLinkedEntityType
-
getVoType
public static Class<? extends EntityVO> getVoType(LinkedEntityType type)
Returns a default VO type for the givenLinkedEntityTypeCAUTION: This method is not intended to be used as a way to resolve to the final VO, the CustomFieldValueHandler should be used instead.
-
-