Java Code Examples for org.sonatype.nexus.common.entity.EntityId#getValue()
The following examples show how to use
org.sonatype.nexus.common.entity.EntityId#getValue() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SearchFacetImpl.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
/** * Returns the document identifier in the repository's index for the given component. */ @Nullable private String identifier(@Nullable final EntityId componentId) { return componentId != null ? componentId.getValue() : null; }
Example 2
Source File: OrientBrowseNodeStoreImpl.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
@Override public String getValue(final EntityId id) { return id == null ? null : id.getValue(); }
Example 3
Source File: OrientCapabilityStorageItem.java From nexus-public with Eclipse Public License 1.0 | 2 votes |
/** * Returns the {@link CapabilityIdentity} for the persisted {@link EntityId}. * * @since 3.1 */ static CapabilityIdentity identity(EntityId entityId) { return new CapabilityIdentity(entityId.getValue()); }