|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.descriptors.SingleTableMultitenantPolicy
org.eclipse.persistence.descriptors.VPDMultitenantPolicy
public class VPDMultitenantPolicy
A vpd multitenant policy.
Field Summary | |
---|---|
protected java.lang.String |
vpdIdentifier
|
protected java.lang.String |
vpdIdentifierFieldName
|
Fields inherited from class org.eclipse.persistence.descriptors.SingleTableMultitenantPolicy |
---|
descriptor, includeTenantCriteria, tenantDiscriminatorFields, tenantDiscriminatorFieldsKeyedOnContext |
Constructor Summary | |
---|---|
VPDMultitenantPolicy(ClassDescriptor descriptor)
|
Method Summary | |
---|---|
void |
addTenantDiscriminatorField(java.lang.String property,
org.eclipse.persistence.internal.helper.DatabaseField field)
INTERNAL: Return all the tenant id fields. |
void |
addToTableDefinition(TableDefinition tableDefinition)
INTERNAL: |
MultitenantPolicy |
clone(ClassDescriptor descriptor)
INTERNAL: |
java.lang.String |
getVPDIdentifier()
INTERNAL: Return the single identifier. |
void |
preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Allow the descriptor to initialize any dependencies on this session. |
Methods inherited from class org.eclipse.persistence.descriptors.SingleTableMultitenantPolicy |
---|
addFieldsToRow, getDescriptor, getTenantDiscriminatorFields, getTenantDiscriminatorFieldsKeyedOnContext, hasTenantDiscriminatorFields, initialize, isSingleTableMultitenantPolicy, isTablePerMultitenantPolicy, postInitialize, setDescriptor, setIncludeTenantCriteria, setTenantDiscriminatorFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String vpdIdentifier
protected java.lang.String vpdIdentifierFieldName
Constructor Detail |
---|
public VPDMultitenantPolicy(ClassDescriptor descriptor)
Method Detail |
---|
public void addTenantDiscriminatorField(java.lang.String property, org.eclipse.persistence.internal.helper.DatabaseField field)
addTenantDiscriminatorField
in class SingleTableMultitenantPolicy
public void addToTableDefinition(TableDefinition tableDefinition)
addToTableDefinition
in interface MultitenantPolicy
addToTableDefinition
in class SingleTableMultitenantPolicy
public MultitenantPolicy clone(ClassDescriptor descriptor)
clone
in interface MultitenantPolicy
clone
in class SingleTableMultitenantPolicy
public java.lang.String getVPDIdentifier()
public void preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session) throws DescriptorException
preInitialize
in interface MultitenantPolicy
preInitialize
in class SingleTableMultitenantPolicy
DescriptorException
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |