Class FullQualifiedName

java.lang.Object
org.apache.olingo.commons.api.edm.FullQualifiedName
All Implemented Interfaces:
Serializable

public final class FullQualifiedName extends Object implements Serializable
A full qualified name of any element in the EDM consists of a name and a namespace.
See Also:
  • Constructor Details

    • FullQualifiedName

      public FullQualifiedName(String namespace, String name)
      Create the FQN with given namespace and name
      Parameters:
      namespace - namespace of FQN
      name - name of FQN
    • FullQualifiedName

      public FullQualifiedName(String namespaceAndName)
      Create the FQN with given namespace and name (which is split of last . of the parameter).
      Parameters:
      namespaceAndName - namespace and name of FQN
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns:
      namespace
    • getName

      public String getName()
      Returns:
      name
    • getFullQualifiedNameAsString

      public String getFullQualifiedNameAsString()
      Returns:
      namespace.name
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object