Package com.rosetta.model.lib.meta
Interface Reference
- All Superinterfaces:
RosettaModelObject
- All Known Subinterfaces:
Reference.ReferenceBuilder
- All Known Implementing Classes:
Reference.ReferenceBuilderImpl,Reference.ReferenceImpl
@RosettaDataType(value="Reference",
builder=ReferenceBuilderImpl.class)
@RuneDataType(value="Reference",
builder=ReferenceBuilderImpl.class,
version="0.0.0")
public interface Reference
extends RosettaModelObject
- Author:
- TomForwood This class represents a reference to a rosetta object
defined elsewhere.
The scope defines where the resolver should look to find the object linked to.
Scope can be - global - the key is universally unique and can be looked up anywhere - e.g. external database - document - the key must be unique in this document and can be found anywhere in the document - the name of the rosetta class e.g. TradeableProduct- the key is only unique inside that TradeableProduct and should only be looked for inside that TradeableProduct
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()builder()getScope()getType()default RosettaMetaData<? extends RosettaModelObject> metaData()default voidprocess(RosettaPath path, Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
meta
-
-
Method Details
-
build
Reference build()- Specified by:
buildin interfaceRosettaModelObject
-
toBuilder
Reference.ReferenceBuilder toBuilder()- Specified by:
toBuilderin interfaceRosettaModelObject
-
getScope
String getScope() -
getPointsTo
String getPointsTo() -
getReference
String getReference() -
metaData
- Specified by:
metaDatain interfaceRosettaModelObject- Returns:
- The MetaData
RosettaMetaDataobject for this class providing access to things like validation
-
builder
-
getType
- Specified by:
getTypein interfaceRosettaModelObject
-
process
- Specified by:
processin interfaceRosettaModelObject
-