예제 #1
0
파일: TypeRel.java 프로젝트: mihxil/mmbase
 /**
  * An enumeration of all allowed relations between two builders. No distinction is made between
  * source and destination.
  */
 public Enumeration<MMObjectNode> getAllowedRelations(int builder1, int builder2) {
   Set<MMObjectNode> res =
       getAllowedRelations(builder1, builder2, 0, RelationStep.DIRECTIONS_BOTH);
   return Collections.enumeration(res);
 }
예제 #2
0
파일: TypeRel.java 프로젝트: mihxil/mmbase
 public Enumeration<MMObjectNode> getAllowedRelations(int otype) {
   Set<MMObjectNode> res = getAllowedRelations(otype, 0, 0, RelationStep.DIRECTIONS_BOTH);
   return Collections.enumeration(res);
 }