Package cdm.base.staticdata.identifier
Class AssignedIdentifier.AssignedIdentifierBuilderImpl
java.lang.Object
cdm.base.staticdata.identifier.AssignedIdentifier.AssignedIdentifierBuilderImpl
- All Implemented Interfaces:
AssignedIdentifier,AssignedIdentifier.AssignedIdentifierBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AssignedIdentifier
public static class AssignedIdentifier.AssignedIdentifierBuilderImpl
extends Object
implements AssignedIdentifier.AssignedIdentifierBuilder
Builder Implementation of AssignedIdentifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.identifier.AssignedIdentifier
AssignedIdentifier.AssignedIdentifierBuilder, AssignedIdentifier.AssignedIdentifierBuilderImpl, AssignedIdentifier.AssignedIdentifierImpl -
Field Summary
FieldsFields inherited from interface cdm.base.staticdata.identifier.AssignedIdentifier
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe identifier value.The identifier version, which is specified as an integer and is meant to be incremented each time the transaction terms (whether contract or event) change.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setIdentifier(FieldWithMetaString _identifier) setIdentifierValue(String _identifier) setVersion(Integer _version) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.identifier.AssignedIdentifier
getType, metaData, processMethods inherited from interface cdm.base.staticdata.identifier.AssignedIdentifier.AssignedIdentifierBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
identifier
-
version
-
-
Constructor Details
-
AssignedIdentifierBuilderImpl
public AssignedIdentifierBuilderImpl()
-
-
Method Details
-
getIdentifier
@RosettaAttribute(value="identifier", isRequired=true) @RuneAttribute(value="identifier", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getIdentifier()Description copied from interface:AssignedIdentifierThe identifier value.- Specified by:
getIdentifierin interfaceAssignedIdentifier- Specified by:
getIdentifierin interfaceAssignedIdentifier.AssignedIdentifierBuilder
-
getOrCreateIdentifier
- Specified by:
getOrCreateIdentifierin interfaceAssignedIdentifier.AssignedIdentifierBuilder
-
getVersion
Description copied from interface:AssignedIdentifierThe identifier version, which is specified as an integer and is meant to be incremented each time the transaction terms (whether contract or event) change. This version is made option to support the use case where the identifier is referenced without the version. The constraint that a contract and a lifecycle event need to have an associated version is enforced through data rules.- Specified by:
getVersionin interfaceAssignedIdentifier
-
setIdentifier
@RosettaAttribute(value="identifier", isRequired=true) @RuneAttribute(value="identifier", isRequired=true) public AssignedIdentifier.AssignedIdentifierBuilder setIdentifier(FieldWithMetaString _identifier) - Specified by:
setIdentifierin interfaceAssignedIdentifier.AssignedIdentifierBuilder
-
setIdentifierValue
- Specified by:
setIdentifierValuein interfaceAssignedIdentifier.AssignedIdentifierBuilder
-
setVersion
@RosettaAttribute("version") @RuneAttribute("version") public AssignedIdentifier.AssignedIdentifierBuilder setVersion(Integer _version) - Specified by:
setVersionin interfaceAssignedIdentifier.AssignedIdentifierBuilder
-
build
Description copied from interface:AssignedIdentifierBuild Methods- Specified by:
buildin interfaceAssignedIdentifier- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAssignedIdentifier- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAssignedIdentifier.AssignedIdentifierBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AssignedIdentifier.AssignedIdentifierBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-