Package org.umlg.redefinition
Class CorporateAccount
java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.redefinition.Account
org.umlg.redefinition.CorporateAccount
- All Implemented Interfaces:
Serializable,org.umlg.runtime.domain.CompositionNode,org.umlg.runtime.domain.ocl.OclAny,org.umlg.runtime.domain.PersistentObject,org.umlg.runtime.domain.UmlgEnum,org.umlg.runtime.domain.UmlgNode,org.umlg.runtime.domain.UmlgRootNode
public class CorporateAccount
extends Account
implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.umlg.redefinition.Account
Account.AccountRuntimePropertyEnum -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for CorporateAccountCorporateAccount(Boolean persistent)constructor for CorporateAccountCorporateAccount(Object id)constructor for CorporateAccountCorporateAccount(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for CorporateAccount -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCompanyOwner(Company companyOwner)voidaddToCompanyOwnerIgnoreInverse(Company companyOwner)voidaddToMinimum(Double minimum)voidaddToMinimumIgnoreInverse(Double minimum)voidaddToSigner(Company signer)voidaddToSigner(org.umlg.runtime.collection.UmlgSet<Company> signer)voidaddToSignerIgnoreInverse(Company signer)static org.umlg.runtime.collection.UmlgSet<? extends CorporateAccount>static org.umlg.runtime.collection.UmlgSet<? extends CorporateAccount>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidvoidvoidvoiddelete()voidvoidvoidfromJsonDataTypeAndComposite(Map<String,Object> propertyMap)voidfromJsonNonCompositeOne(Map<String,Object> propertyMap)voidfromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)org.umlg.runtime.collection.UmlgSet<LegalEntity>getAgent()org.umlg.runtime.collection.UmlgSet<LegalEntity>getOwner()org.umlg.runtime.domain.UmlgNodeList<org.umlg.runtime.collection.Qualifier>getQualifiers(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, org.umlg.runtime.domain.UmlgNode node, boolean inverse)getQualifiers is called from the collection in order to update the index used to implement the qualifierorg.umlg.runtime.collection.UmlgSet<Company>intgetSize(boolean inverse, org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty)getSize is called from the BaseCollection.addInternal in order to save the size of the inverse collection to update the edge's sequence orderbooleanvoidvoidinitialiseProperties(boolean loaded)boolean properties' default values are initialized in the constructor via z_internalBooleanPropertiesvoidinitialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)voidorg.umlg.runtime.collection.UmlgRuntimePropertyinverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)booleanorg.umlg.runtime.collection.UmlgSet<Company>org.umlg.runtime.collection.UmlgSet<Company>voidremoveFromCompanyOwner(Company companyOwner)voidremoveFromCompanyOwner(org.umlg.runtime.collection.UmlgSet<Company> companyOwner)voidremoveFromMinimum(Double minimum)voidremoveFromMinimum(org.umlg.runtime.collection.UmlgSet<Double> minimum)voidremoveFromSigner(Company signer)voidremoveFromSigner(org.umlg.runtime.collection.UmlgSet<Company> signer)voidsetCompanyOwner(Company companyOwner)voidsetMinimum(Double minimum)voidtoJson()deep indicates that components also be serialized.deep indicates that components also be serialized.List<org.umlg.runtime.validation.UmlgConstraintViolation>validateMinimum(Double minimum)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidz_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)voidz_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)Set<org.umlg.runtime.collection.UmlgRuntimeProperty>Set<org.umlg.runtime.collection.UmlgRuntimeProperty>org.umlg.runtime.collection.UmlgCollection<? extends Object>z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)org.umlg.runtime.collection.UmlgRuntimePropertyz_internalInverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)voidz_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)Methods inherited from class org.umlg.redefinition.Account
addToAgent, addToAgent, addToAgentIgnoreInverse, addToBalance, addToBalanceIgnoreInverse, addToOwner, addToOwner, addToOwnerIgnoreInverse, addToPriority, addToPriorityIgnoreInverse, clearAgent, clearBalance, clearOwner, clearPriority, getBalance, getPriority, getUid, lookupFor_accountAgent_agent, lookupFor_accountOwner_owner, removeFromAgent, removeFromAgent, removeFromBalance, removeFromBalance, removeFromOwner, removeFromOwner, removeFromPriority, removeFromPriority, setAgent, setBalance, setOwner, setPriority, validateBalance, validatePriorityMethods inherited from class org.umlg.runtime.domain.BaseUmlgCompositionNode
getPathToCompositionalRootMethods inherited from class org.umlg.runtime.domain.BaseUmlg
addToThreadEntityVar, asSet, changed, doBeforeCommit, equals, getEdge, getId, getName, getVertex, hashCode, hasInitBeenCalled, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclType, reload, setEdge, setVertexMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.umlg.runtime.domain.ocl.OclAny
equals, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclTypeMethods inherited from interface org.umlg.runtime.domain.PersistentObject
doBeforeCommit, getId, getUidMethods inherited from interface org.umlg.runtime.domain.UmlgNode
asSet, getEdge, getPathToCompositionalRoot, getVertex, setEdge
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
- Constant Field Values
-
-
Constructor Details
-
CorporateAccount
constructor for CorporateAccount- Parameters:
id-
-
CorporateAccount
public CorporateAccount(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for CorporateAccount- Parameters:
vertex-
-
CorporateAccount
public CorporateAccount()default constructor for CorporateAccount -
CorporateAccount
constructor for CorporateAccount- Parameters:
persistent-
-
-
Method Details
-
addToCompanyOwner
-
addToCompanyOwnerIgnoreInverse
-
addToMinimum
- Overrides:
addToMinimumin classAccount
-
addToMinimumIgnoreInverse
- Overrides:
addToMinimumIgnoreInversein classAccount
-
addToSigner
-
addToSigner
-
addToSignerIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends CorporateAccount> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
checkClassConstraintsin classAccount
-
clearCompanyOwner
public void clearCompanyOwner() -
clearMinimum
public void clearMinimum()- Overrides:
clearMinimumin classAccount
-
clearSigner
public void clearSigner() -
delete
public void delete() -
fromJson
-
fromJson
-
fromJsonDataTypeAndComposite
- Specified by:
fromJsonDataTypeAndCompositein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonDataTypeAndCompositein classAccount
-
fromJsonNonCompositeOne
- Specified by:
fromJsonNonCompositeOnein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeOnein classAccount
-
fromJsonNonCompositeRequiredMany
- Specified by:
fromJsonNonCompositeRequiredManyin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeRequiredManyin classAccount
-
getAgent
-
getCompanyOwner
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
getMetaDataAsJsonin classAccount
-
getMinimum
- Overrides:
getMinimumin classAccount
-
getOwner
-
getOwningObject
public org.umlg.runtime.domain.UmlgNode getOwningObject()- Specified by:
getOwningObjectin interfaceorg.umlg.runtime.domain.CompositionNode- Specified by:
getOwningObjectin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
getOwningObjectin classAccount
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
getQualifiedNamein classAccount
-
getQualifiers
public List<org.umlg.runtime.collection.Qualifier> getQualifiers(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, org.umlg.runtime.domain.UmlgNode node, boolean inverse)getQualifiers is called from the collection in order to update the index used to implement the qualifier- Specified by:
getQualifiersin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
getQualifiersin classAccount- Parameters:
tumlRuntimeProperty-node-inverse-
-
getSigner
-
getSize
public int getSize(boolean inverse, org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty)getSize is called from the BaseCollection.addInternal in order to save the size of the inverse collection to update the edge's sequence order -
hasOnlyOneCompositeParent
public boolean hasOnlyOneCompositeParent()- Specified by:
hasOnlyOneCompositeParentin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
hasOnlyOneCompositeParentin classAccount
-
initDataTypeVariablesWithDefaultValues
public void initDataTypeVariablesWithDefaultValues()- Overrides:
initDataTypeVariablesWithDefaultValuesin classAccount
-
initVariables
public void initVariables()- Specified by:
initVariablesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initVariablesin classAccount
-
initialiseProperties
public void initialiseProperties(boolean loaded)boolean properties' default values are initialized in the constructor via z_internalBooleanProperties- Specified by:
initialisePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initialisePropertiesin classAccount- Parameters:
loaded-
-
initialiseProperty
public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)- Specified by:
initialisePropertyin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initialisePropertyin classAccount
-
inverseAdder
public org.umlg.runtime.collection.UmlgRuntimeProperty inverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)- Specified by:
inverseAdderin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
inverseAdderin classAccount
-
isTinkerRoot
public boolean isTinkerRoot()- Specified by:
isTinkerRootin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
isTinkerRootin classAccount
-
lookupFor_corporateAccountOwned_companyOwner
-
lookupFor_corporateAccountSigned_signer
-
removeFromCompanyOwner
-
removeFromCompanyOwner
-
removeFromMinimum
- Overrides:
removeFromMinimumin classAccount
-
removeFromMinimum
- Overrides:
removeFromMinimumin classAccount
-
removeFromSigner
-
removeFromSigner
-
setCompanyOwner
-
setMinimum
- Overrides:
setMinimumin classAccount
-
setSigner
-
toJson
deep indicates that components also be serialized. -
toJson
-
toJsonWithoutCompositeParent
deep indicates that components also be serialized.- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAccount- Parameters:
deep-
-
toJsonWithoutCompositeParent
- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAccount
-
validateMinimum
- Overrides:
validateMinimumin classAccount
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
validateMultiplicitiesin classAccount
-
z_internalAddPersistentValueToCollection
public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddPersistentValueToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalAddPersistentValueToCollectionin classAccount
-
z_internalAddToCollection
public void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalAddToCollectionin classAccount
-
z_internalBooleanProperties
- Specified by:
z_internalBooleanPropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalBooleanPropertiesin classAccount
-
z_internalDataTypeProperties
- Specified by:
z_internalDataTypePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesin classAccount
-
z_internalDataTypePropertiesWithDefaultValues
public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()- Specified by:
z_internalDataTypePropertiesWithDefaultValuesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesWithDefaultValuesin classAccount
-
z_internalGetCollectionFor
public org.umlg.runtime.collection.UmlgCollection<? extends Object> z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)- Specified by:
z_internalGetCollectionForin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalGetCollectionForin classAccount
-
z_internalInverseAdder
public org.umlg.runtime.collection.UmlgRuntimeProperty z_internalInverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)- Specified by:
z_internalInverseAdderin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalInverseAdderin classAccount
-
z_internalMarkCollectionLoaded
public void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)- Specified by:
z_internalMarkCollectionLoadedin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalMarkCollectionLoadedin classAccount
-