Enum Class EdgeOrigin
- All Implemented Interfaces:
Serializable,Comparable<EdgeOrigin>,Constable
How a
Relationship entered the schema graph.
Origin is load-bearing: a declared edge is ground truth and its violations are hard analysis errors, while learned and inferred edges are provisional — they must stay visibly distinguishable and correctable, and a stale one is dropped with a warning rather than failing analysis.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeclared in a.relixsource file — arelatestatement or areferences:block.Inferred by examining data — value containment against candidate keys .Learned during a session — supplied through conversational acquisition ("how do orders relate to customers?") or captured from the joins a user actually wrote. -
Method Summary
Modifier and TypeMethodDescriptionstatic EdgeOriginReturns the enum constant of this class with the specified name.static EdgeOrigin[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DECLARED
Declared in a.relixsource file — arelatestatement or areferences:block. Ground truth; validated as a hard error. -
LEARNED
Learned during a session — supplied through conversational acquisition ("how do orders relate to customers?") or captured from the joins a user actually wrote. Session-scoped until persistence decides otherwise. -
INFERRED
Inferred by examining data — value containment against candidate keys . A suggestion, never silently authoritative.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-