public Feature newProperty ( String id , String lemma , List < Span < Term > > references ) { idManager . updateCounter ( AnnotationType . PROPERTY , id ) ; Feature newProperty = new Feature ( id , lemma , references ) ; annotationContainer . add ( newProperty , Layer . PROPERTIES , AnnotationType . PROPERTY ) ; return newProperty ; }
Creates a new property . It receives it s ID as an argument . The property is added to the document .