Added getters and setters for field variables.
Merge pull request #65 from zgzn/sbol2

Added getters and setters for field variables.