public List<OneToOne<EmbeddableAttributes<T>>> getAllOneToOne()
   {
      List<OneToOne<EmbeddableAttributes<T>>> list = new ArrayList<OneToOne<EmbeddableAttributes<T>>>();
      List<Node> nodeList = childNode.get("one-to-one");
      for(Node node: nodeList)
      {
         OneToOne<EmbeddableAttributes<T>>  type = new OneToOneImpl<EmbeddableAttributes<T>>(this, "one-to-one", childNode, node);
         list.add(type);
      }
      return list;
   }
public List < OneToOne < EmbeddableAttributes < T > > > getAllOneToOne ( ) { List < OneToOne < EmbeddableAttributes < T > > > list = new ArrayList < OneToOne < EmbeddableAttributes < T > > > ( ) ; List < Node > nodeList = childNode . get ( "one-to-one" ) ; for ( Node node : nodeList ) { OneToOne < EmbeddableAttributes < T > > type = new OneToOneImpl < EmbeddableAttributes < T > > ( this , "one-to-one" , childNode , node ) ; list . add ( type ) ; } return list ; }
Returns all <code>one-to-one</code> elements
@return list of <code>one-to-one</code>