final String name = contextURL == null ? null : contextURL.getEntitySetOrSingletonOrType(); if (options != null && options.getWriteOnlyReferences()) { ReferenceCollectionSerializerOptions rso = ReferenceCollectionSerializerOptions.with() .contextURL(contextURL).build(); return entityReferenceCollection(entitySet, rso);
final String name = contextURL == null ? null : contextURL.getEntitySetOrSingletonOrType(); if (options != null && options.getWriteOnlyReferences()) { ReferenceCollectionSerializerOptions rso = ReferenceCollectionSerializerOptions.with() .contextURL(contextURL).build(); return entityReferenceCollection(entitySet, rso);