RelationshipHolder ================== .. java:package:: org.motechproject.mds.domain :noindex: .. java:type:: public class RelationshipHolder extends FieldHolder The main purpose of this class is to find out how cascade should be used for the given field with relationship type. Constructors ------------ RelationshipHolder ^^^^^^^^^^^^^^^^^^ .. java:constructor:: public RelationshipHolder(Field field) :outertype: RelationshipHolder RelationshipHolder ^^^^^^^^^^^^^^^^^^ .. java:constructor:: public RelationshipHolder(ClassData data, Field field) :outertype: RelationshipHolder Methods ------- getRelatedClass ^^^^^^^^^^^^^^^ .. java:method:: public String getRelatedClass() :outertype: RelationshipHolder isCascadeDelete ^^^^^^^^^^^^^^^ .. java:method:: public boolean isCascadeDelete() :outertype: RelationshipHolder isCascadePersist ^^^^^^^^^^^^^^^^ .. java:method:: public boolean isCascadePersist() :outertype: RelationshipHolder isCascadeUpdate ^^^^^^^^^^^^^^^ .. java:method:: public boolean isCascadeUpdate() :outertype: RelationshipHolder isOneToMany ^^^^^^^^^^^ .. java:method:: public boolean isOneToMany() :outertype: RelationshipHolder isOneToOne ^^^^^^^^^^ .. java:method:: public boolean isOneToOne() :outertype: RelationshipHolder