added getters and setters for type on trait repo