Class UsageKnowledge<U>

java.lang.Object
org.gcube.informationsystem.model.knowledge.UsageKnowledge<U>

public class UsageKnowledge<U> extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

  • Constructor Details

    • UsageKnowledge

      public UsageKnowledge(AccessType accessType)
      Creates a new instance.
      Parameters:
      accessType - The access type.
  • Method Details

    • add

      public void add(String typeName, U u)
      Adds a usage for a type.
      Parameters:
      typeName - The type name.
      u - The usage.
    • getUsage

      public List<U> getUsage(String typeName)
      Returns the usages for a type.
      Parameters:
      typeName - The type name.
      Returns:
      The list of usages.