public RelationConstraint(final String type,final String subType,final String pos,final String source,final String target){
  this.type=type;
  this.subType=subType;
  this.pos=pos;
  if (pos != null && pos.length() > 0) {
    this.posChar=Character.toLowerCase(pos.charAt(0));
  }
 else {
    this.posChar='?';
  }
  this.source=source;
  this.target=target;
}

public RelationConstraint ( final String type , final String subType , final String pos , final String source , final String target ) { this . type = type ; this . subType = subType ; this . pos = pos ; if ( pos != null && pos . length ( ) > 0 ) { this . posChar = Character . toLowerCase ( pos . charAt ( 0 ) ) ; } else { this . posChar = '?' ; } this . source = source ; this . target = target ; }
instantiates a new relation constraint .
