public ERelationType(String name, RoleInfo[] roleInfo) throws InvalidRelationTypeException, IllegalArgumentException { super(name); for (int i = 0; i < roleInfo.length; i++) { addRoleInfo(roleInfo[i]); } }
public ERelationType(String name, RoleInfo roleInfo) throws InvalidRelationTypeException, IllegalArgumentException { super(name); addRoleInfo(roleInfo); }
public void ERelationTypeAddRoleInfo(RoleInfo roleInfo) throws InvalidRelationTypeException, IllegalArgumentException { addRoleInfo(roleInfo); }