public static ConceptId getInstance ( String id , Metadata metadata ) { List < Object > key = new ArrayList <> ( 1 ) ; key . add ( id ) ; ConceptId result = metadata . getFromConceptIdCache ( key ) ; if ( result != null ) { return result ; } else { result = new SimpleConceptId ( id , metadata ) ; metadata . putInConceptIdCache ( key , result ) ; return result ; } }
Returns a concept propId with the given string identifier .