Class InfobaseAssociationContext
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.infobases.InfobaseAssociationContext
-
public final class InfobaseAssociationContext extends Object
The infobase association context.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfobaseAssociationContext
empty()
Returns an empty infobase association contextboolean
equals(Object obj)
Optional<String>
getContext()
Returns an optionalString
presentation of infobase context.Optional<InfobaseAssociationContext>
getReference()
Returns an optional referenced infobase association context.int
hashCode()
static InfobaseAssociationContext
of(InfobaseAssociationContext context, InfobaseAssociationContext reference)
Returns an infobase association context with presentation equals to the provided that refers to the other provided context.static InfobaseAssociationContext
of(String context)
Returns an infobase association context with the providedString
presentation.static InfobaseAssociationContext
of(String context, InfobaseAssociationContext reference)
Returns an infobase association context with the providedString
presentation that refers to the other provided context.String
toString()
-
-
-
Method Detail
-
of
public static final InfobaseAssociationContext of(String context, InfobaseAssociationContext reference)
Returns an infobase association context with the providedString
presentation that refers to the other provided context. Presentation must not be started with.
and must be convertable toPath
.- Parameters:
context
- theString
presentation, cannot benull
reference
- the references association context, cannot benull
- Returns:
- an infobase association context that refers to the provided, never
null
-
of
public static final InfobaseAssociationContext of(InfobaseAssociationContext context, InfobaseAssociationContext reference)
Returns an infobase association context with presentation equals to the provided that refers to the other provided context.- Parameters:
context
- the association context, cannot benull
reference
- the references association context, cannot benull
- Returns:
- an infobase association context that refers to the provided, never
null
-
of
public static final InfobaseAssociationContext of(String context)
Returns an infobase association context with the providedString
presentation. Presentation must not be started with.
and must be convertable toPath
.- Parameters:
context
- theString
presentation, cannot benull
- Returns:
- an infobase association context with the provided
String
presentation, nevernull
-
empty
public static final InfobaseAssociationContext empty()
Returns an empty infobase association context- Returns:
- an empty infobase association context, never
null
-
getContext
public Optional<String> getContext()
Returns an optionalString
presentation of infobase context.- Returns:
- an optional
String
presentation of infobase context
-
getReference
public Optional<InfobaseAssociationContext> getReference()
Returns an optional referenced infobase association context.- Returns:
- an optional referenced infobase association context
-
-