views:

168

answers:

0

Hi,

I have 3 classes :

 public class Transformation
{
        private int Id;
         private int Type;
        private int Ind;
        private IList<Action> Actions;
        private IList<Condition> Conditions;
        private Boolean IsEnabled;
}

public class Action
{
        private int m_Id;

        private Transformation m_Transformation;
        private String m_Type;
        private Feature m_Feature;
        private FeatureValue m_FeatureValue;
        private String m_ValueText;
        private int m_ValueInteger;
        private Double m_ValueNumeric;
        private DateTime m_ValueDate;
        private Segment3 m_Segment3;
        private Editor m_Editor;
        private Boolean m_IsEnabled;
}

public class Condition
{
        private int m_Id;
        private Transformation m_Transformation;
        private int m_Ind;
        private String m_ConditionOperator;
        private Feature m_Feature;
        private Boolean m_IsSegment3;
        private Boolean m_IsEditor;
        private String m_Operator;
        private String m_ValueText;
        private Boolean m_IsEnabled;
}

I want to get the 1. Id of Transformation 2. the ValueText of the Actions 3. Operator of the Condition.

How can i do this with Hql ? Thanks