Package cdm.base.staticdata.party
Interface NaturalPersonRole.NaturalPersonRoleBuilder
- All Superinterfaces:
NaturalPersonRole,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
NaturalPersonRole.NaturalPersonRoleBuilderImpl
- Enclosing interface:
NaturalPersonRole
public static interface NaturalPersonRole.NaturalPersonRoleBuilder
extends NaturalPersonRole, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.party.NaturalPersonRole
NaturalPersonRole.NaturalPersonRoleBuilder, NaturalPersonRole.NaturalPersonRoleBuilderImpl, NaturalPersonRole.NaturalPersonRoleImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.party.NaturalPersonRole
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddRole(FieldWithMetaNaturalPersonRoleEnum role, int idx) addRole(List<? extends FieldWithMetaNaturalPersonRoleEnum> role) addRoleValue(NaturalPersonRoleEnum role, int idx) addRoleValue(List<? extends NaturalPersonRoleEnum> role) getOrCreateRole(int index) A reference to the natural person to whom the role refers to.getRole()FpML specifies a person role that is distinct from the party role.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setPersonReference(ReferenceWithMetaNaturalPerson personReference) setPersonReferenceValue(NaturalPerson personReference) setRole(List<? extends FieldWithMetaNaturalPersonRoleEnum> role) setRoleValue(List<? extends NaturalPersonRoleEnum> role) Methods inherited from interface cdm.base.staticdata.party.NaturalPersonRole
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreatePersonReference
ReferenceWithMetaNaturalPerson.ReferenceWithMetaNaturalPersonBuilder getOrCreatePersonReference() -
getPersonReference
ReferenceWithMetaNaturalPerson.ReferenceWithMetaNaturalPersonBuilder getPersonReference()Description copied from interface:NaturalPersonRoleA reference to the natural person to whom the role refers to.- Specified by:
getPersonReferencein interfaceNaturalPersonRole
-
getOrCreateRole
FieldWithMetaNaturalPersonRoleEnum.FieldWithMetaNaturalPersonRoleEnumBuilder getOrCreateRole(int index) -
getRole
List<? extends FieldWithMetaNaturalPersonRoleEnum.FieldWithMetaNaturalPersonRoleEnumBuilder> getRole()Description copied from interface:NaturalPersonRoleFpML specifies a person role that is distinct from the party role.- Specified by:
getRolein interfaceNaturalPersonRole
-
setPersonReference
NaturalPersonRole.NaturalPersonRoleBuilder setPersonReference(ReferenceWithMetaNaturalPerson personReference) -
setPersonReferenceValue
-
addRole
-
addRole
NaturalPersonRole.NaturalPersonRoleBuilder addRole(FieldWithMetaNaturalPersonRoleEnum role, int idx) -
addRoleValue
-
addRoleValue
-
addRole
NaturalPersonRole.NaturalPersonRoleBuilder addRole(List<? extends FieldWithMetaNaturalPersonRoleEnum> role) -
setRole
NaturalPersonRole.NaturalPersonRoleBuilder setRole(List<? extends FieldWithMetaNaturalPersonRoleEnum> role) -
addRoleValue
-
setRoleValue
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-