Class InfobaseAssociationSettings
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.infobases.InfobaseAssociationSettings
-
public final class InfobaseAssociationSettings extends Object
The infobase association settings.
-
-
Constructor Summary
Constructors Constructor Description InfobaseAssociationSettings(boolean isSynchronized, boolean isForced)
Creates an instance ofInfobaseAssociationSettings
.InfobaseAssociationSettings(boolean isSynchronized, boolean isForced, InfobaseAssociationContext context)
Creates an instance ofInfobaseAssociationSettings
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfobaseAssociationSettings
alreadySynchronized()
Returns an instance ofInfobaseAssociationSettings
that represents already synchronized infobase settings.static InfobaseAssociationSettings
alreadySynchronized(InfobaseAssociationContext context)
Returns an instance ofInfobaseAssociationSettings
that represents already synchronized infobase settings.static InfobaseAssociationSettings
copyStateOf(InfobaseAssociationContext context, InfobaseAssociationContext copyOfContext, InfobaseReference copyOfInfobase)
Returns an instance ofInfobaseAssociationSettings
that represents an infobase association settings with synchronization state that will be created as copy of the provided.boolean
equals(Object obj)
InfobaseAssociationContext
getContext()
Returns the infobase association context.InfobaseAssociationContext
getCopyingContext()
Returns copying infobase association context.InfobaseReference
getCopyingInfobase()
Returns copying infobase association infobase.int
hashCode()
boolean
isCopyingStateSettings()
Returns whether infobase association is creating with synchronization state as copy of the some other infobase asscoation context.boolean
isForced()
Returns whether need to force association process.boolean
isSynchronized()
Returns whether the infobase is synchronized with project.static InfobaseAssociationSettings
notSynchronized()
Returns an instance ofInfobaseAssociationSettings
that represents not synchronized (initial) infobase settings.static InfobaseAssociationSettings
notSynchronized(InfobaseAssociationContext context)
Returns an instance ofInfobaseAssociationSettings
that represents not synchronized (initial) infobase settings.
-
-
-
Constructor Detail
-
InfobaseAssociationSettings
public InfobaseAssociationSettings(boolean isSynchronized, boolean isForced)
Creates an instance ofInfobaseAssociationSettings
.- Parameters:
isSynchronized
- whether the infobase is synchronized with projectisForced
- whether need to force association process
-
InfobaseAssociationSettings
public InfobaseAssociationSettings(boolean isSynchronized, boolean isForced, InfobaseAssociationContext context)
Creates an instance ofInfobaseAssociationSettings
.- Parameters:
isSynchronized
- whether the infobase is synchronized with projectisForced
- whether need to force association processcontext
- the infobase association context, cannot benull
-
-
Method Detail
-
alreadySynchronized
public static InfobaseAssociationSettings alreadySynchronized()
Returns an instance ofInfobaseAssociationSettings
that represents already synchronized infobase settings.- Returns:
- an instance of
InfobaseAssociationSettings
that represents already synchronized infobase settings, nevernull
-
alreadySynchronized
public static InfobaseAssociationSettings alreadySynchronized(InfobaseAssociationContext context)
Returns an instance ofInfobaseAssociationSettings
that represents already synchronized infobase settings.- Parameters:
context
- the infobase association context, cannot benull
- Returns:
- an instance of
InfobaseAssociationSettings
that represents already synchronized infobase settings, nevernull
-
notSynchronized
public static InfobaseAssociationSettings notSynchronized()
Returns an instance ofInfobaseAssociationSettings
that represents not synchronized (initial) infobase settings.- Returns:
- an instance of
InfobaseAssociationSettings
that represents not synchronized (initial) infobase settings, nevernull
-
notSynchronized
public static InfobaseAssociationSettings notSynchronized(InfobaseAssociationContext context)
Returns an instance ofInfobaseAssociationSettings
that represents not synchronized (initial) infobase settings.- Parameters:
context
- the infobase association context, cannot benull
- Returns:
- an instance of
InfobaseAssociationSettings
that represents not synchronized (initial) infobase settings, nevernull
-
copyStateOf
public static InfobaseAssociationSettings copyStateOf(InfobaseAssociationContext context, InfobaseAssociationContext copyOfContext, InfobaseReference copyOfInfobase)
Returns an instance ofInfobaseAssociationSettings
that represents an infobase association settings with synchronization state that will be created as copy of the provided. For example, if provided infobase and context are synchronized than creating context and state will be synchronized.- Parameters:
context
- the infobase association context, cannot benull
copyOfContext
- the infobase association context to copy state of, cannot benull
copyOfInfobase
- the infobase to copy state of, cannot benull
- Returns:
- an instance of
InfobaseAssociationSettings
that represents an infobase association settings with synchronization state that will be created as copy of the provided
-
isSynchronized
public boolean isSynchronized()
Returns whether the infobase is synchronized with project.- Returns:
- whether the infobase is synchronized with project
-
isForced
public boolean isForced()
Returns whether need to force association process.- Returns:
- whether need to force association process
-
isCopyingStateSettings
public boolean isCopyingStateSettings()
Returns whether infobase association is creating with synchronization state as copy of the some other infobase asscoation context.- Returns:
- whether infobase association is creating with synchronization state as copy of the some other infobase asscoation context
-
getContext
public InfobaseAssociationContext getContext()
Returns the infobase association context.- Returns:
- the infobase association context, never
null
- See Also:
isCopyingStateSettings()
-
getCopyingContext
public InfobaseAssociationContext getCopyingContext()
Returns copying infobase association context.- Returns:
- copying infobase association context, never
null
- See Also:
isCopyingStateSettings()
-
getCopyingInfobase
public InfobaseReference getCopyingInfobase()
Returns copying infobase association infobase.- Returns:
- copying infobase association infobase, never
null
-
-