public class TypeDesignationSetManager.TypeDesignationWorkingSet extends java.util.LinkedHashMap<TypeDesignationStatusBase<?>,java.util.Collection<TypedEntityReference>>
TypeDesignationWorkingSet
internally
works with EnityReferences to the actual TypeDesignations.
The EntityReferences for TypeDesignations are grouped by the according TypeDesignationStatus.
The TypeDesignationStatusBase keys can be ordered by the term order defined in the vocabulary.
A workingset can be referenced by the baseEntityReference
.Constructor and Description |
---|
TypeDesignationWorkingSet(VersionableEntity baseEntity,
TypedEntityReference<VersionableEntity> baseEntityReference) |
Modifier and Type | Method and Description |
---|---|
VersionableEntity |
getBaseEntity() |
TypedEntityReference<VersionableEntity> |
getBaseEntityReference()
A reference to the entity which is the common base entity for all TypeDesignations in this workingset.
|
java.lang.String |
getRepresentation() |
java.util.List<TypedEntityReference> |
getTypeDesignations() |
TypeDesignationSetManager.TypeDesignationWorkingSetType |
getWorkingsetType() |
void |
insert(TypeDesignationStatusBase<?> status,
TypedEntityReference typeDesignationEntityReference) |
boolean |
isSpecimenTypeDesigationWorkingSet() |
void |
setRepresentation(java.lang.String representation) |
java.lang.String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public TypeDesignationWorkingSet(VersionableEntity baseEntity, TypedEntityReference<VersionableEntity> baseEntityReference)
baseEntityReference
- public VersionableEntity getBaseEntity()
public java.util.List<TypedEntityReference> getTypeDesignations()
public void insert(TypeDesignationStatusBase<?> status, TypedEntityReference typeDesignationEntityReference)
status
- typeDesignationEntityReference
- public java.lang.String getRepresentation()
public void setRepresentation(java.lang.String representation)
public TypedEntityReference<VersionableEntity> getBaseEntityReference()
SpecimenTypeDesignation
this is usually the FieldUnit
if it is present. Otherwise it can also be
a DerivedUnit
or something else depending on the specific use case.public java.lang.String toString()
toString
in class java.util.AbstractMap<TypeDesignationStatusBase<?>,java.util.Collection<TypedEntityReference>>
public boolean isSpecimenTypeDesigationWorkingSet()
public TypeDesignationSetManager.TypeDesignationWorkingSetType getWorkingsetType()
Copyright © 2007-2020 EDIT. All Rights Reserved.