org.mod4j.businessdomain.generator.helpers
Class BusinessClassHelpers
java.lang.Object
org.mod4j.businessdomain.generator.helpers.BusinessClassHelpers
public class BusinessClassHelpers
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessClassHelpers
public BusinessClassHelpers()
getCollectionInterface
public static java.lang.String getCollectionInterface(Association a)
getCollectionImplementation
public static java.lang.String getCollectionImplementation(Association a)
isOne2Many
public static boolean isOne2Many(Association a)
isOne2One
public static boolean isOne2One(Association a)
isMany2One
public static boolean isMany2One(Association a)
isMany2Many
public static boolean isMany2Many(Association a)
isCompositePart
public static boolean isCompositePart(BusinessClass cls)
javaType
public static java.lang.String javaType(Property p)
javaNullableType
public static java.lang.String javaNullableType(Property p)
javaDefaultValue
public static java.lang.String javaDefaultValue(Property p)
javaType
public static java.lang.String javaType(BoolProperty p)
javaNullableType
public static java.lang.String javaNullableType(BoolProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(BoolProperty p)
javaType
public static java.lang.String javaType(DateTimeProperty p)
javaNullableType
public static java.lang.String javaNullableType(DateTimeProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(DateTimeProperty p)
javaType
public static java.lang.String javaType(EnumerationProperty p)
javaNullableType
public static java.lang.String javaNullableType(EnumerationProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(EnumerationProperty p)
javaType
public static java.lang.String javaType(StringProperty p)
javaNullableType
public static java.lang.String javaNullableType(StringProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(StringProperty p)
javaType
public static java.lang.String javaType(IntegerProperty p)
javaNullableType
public static java.lang.String javaNullableType(IntegerProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(IntegerProperty p)
javaType
public static java.lang.String javaType(DecimalProperty p)
javaNullableType
public static java.lang.String javaNullableType(DecimalProperty p)
javaDefaultValue
public static java.lang.String javaDefaultValue(DecimalProperty p)
getAllProperties
public static java.util.List<Property> getAllProperties(BusinessClass cls)
getAllAssociationsTo
public static java.util.List<Association> getAllAssociationsTo(BusinessClass cls)
getAllAssociationsFrom
public static java.util.List<Association> getAllAssociationsFrom(BusinessClass cls)
hasSubclasses
public static boolean hasSubclasses(BusinessClass clazz)
Copyright © 2010 Mod4j. All Rights Reserved.