Package com.regnosys.rosetta.utils
Class ExternalAnnotationUtil
java.lang.Object
com.regnosys.rosetta.utils.ExternalAnnotationUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ExternalAnnotationUtil.CollectRuleVisitor>
TcollectAllRuleReferencesForType(Optional<? extends ExternalAnnotationSource> maybeSource, Data type, T visitor) getAllExternalAttributesForType(ExternalAnnotationSource source, Data type) getAllExternalEnums(ExternalAnnotationSource source, RosettaEnumeration type) getAllExternalTypes(ExternalAnnotationSource source, Data type) getAllRuleReferencesForType(Optional<? extends ExternalAnnotationSource> maybeSource, Data type) getExternalEnum(ExternalAnnotationSource source, RosettaEnumeration type) getExternalType(ExternalAnnotationSource source, Data type)
-
Constructor Details
-
ExternalAnnotationUtil
public ExternalAnnotationUtil()
-
-
Method Details
-
getSuperSources
-
getExternalType
-
getExternalEnum
public Optional<RosettaExternalEnum> getExternalEnum(ExternalAnnotationSource source, RosettaEnumeration type) -
getAllExternalTypes
- Parameters:
source-type-- Returns:
-
getAllExternalEnums
public Set<RosettaExternalEnum> getAllExternalEnums(ExternalAnnotationSource source, RosettaEnumeration type) -
getAllExternalAttributesForType
public Set<RosettaExternalRegularAttribute> getAllExternalAttributesForType(ExternalAnnotationSource source, Data type) -
getAllExternalEnumValuesForType
public Set<RosettaExternalEnumValue> getAllExternalEnumValuesForType(ExternalAnnotationSource source, RosettaEnumeration type) -
getAllRuleReferencesForType
public Map<RosettaFeature,RosettaRuleReference> getAllRuleReferencesForType(Optional<? extends ExternalAnnotationSource> maybeSource, Data type) -
collectAllRuleReferencesForType
public <T extends ExternalAnnotationUtil.CollectRuleVisitor> T collectAllRuleReferencesForType(Optional<? extends ExternalAnnotationSource> maybeSource, Data type, T visitor)
-