class SchemaDescriptorFactory {

    public static RelationTypeSchemaDescriptor forRelType( int relTypeId, int... propertyIds )
    {
        validateRelationshipTypeIds( relTypeId );
        validatePropertyIds( propertyIds );
        return new RelationTypeSchemaDescriptor( relTypeId, propertyIds );
    }

    private  SchemaDescriptorFactory();

}