Package org.gcube.informationsystem.model.knowledge
-
Interface Summary Interface Description TypeInformation<T> ExtendsNodeInformationto provide additional type-related information.TypesDiscoverer<T> A pluggable strategy for discovering all known types of a givenAccessType, so that aModelKnowledgecan be populated without hard-coding how types are located. -
Class Summary Class Description ModelKnowledge<T,TI extends TypeInformation<T>> Builds an in-memory knowledge base over the full set of known types: one inheritanceDagperAccessType, plus a per-type-name usage index (TypeUsage: Composition/Association/Property usage) tracking which types reference which other types (viaConsistsOf/IsRelatedTorelations) and which generic property types are embedded by which type.TypeUsage Static Composition/Association/Property usage data for aType-- i.e.TypeUsageBuilder Builds aTypeUsagefor aTypefrom aModelKnowledgeand attaches it to the type as an additional property (seeType.setAdditionalProperty(String, Object)) rather than as a new field on theTypehierarchy itself.UsageKnowledge<U> Tracks, per type name, the list of recorded usage occurrences of a given kind — e.g.