Class YNamespace

java.lang.Object
de.hybris.bootstrap.typesystem.YNamespace
Direct Known Subclasses:
YExtension

public abstract class YNamespace extends Object
  • Constructor Details

  • Method Details

    • mergeNamespace

      protected void mergeNamespace(YNamespace other)
    • getTypeSystem

      public YTypeSystem getTypeSystem()
    • assureModifieable

      protected void assureModifieable()
    • registerTypeSystemElement

      public void registerTypeSystemElement(YNameSpaceElement element) throws IllegalStateException
      Throws:
      IllegalStateException
    • registerDeployment

      protected void registerDeployment(YComposedType type)
    • registerInheritanceRelation

      protected void registerInheritanceRelation(YComposedType type)
    • registerInheritanceRelation

      protected void registerInheritanceRelation(YAtomicType type)
    • getOwnDBTypeMappings

      public YDBTypeMapping getOwnDBTypeMappings(String databaseName)
    • getAllOwnDBTypeMappings

      public Map<String,YDBTypeMapping> getAllOwnDBTypeMappings()
    • getOwnTypes

      public Set<? extends YType> getOwnTypes()
    • getOwnTypes

      public <T> Set<T> getOwnTypes(Class clazz)
    • getOwnTypes

      public <T> Set<T> getOwnTypes(Class clazz, Class... excluded)
    • getOwnTypesByDeployment

      public final Set<YComposedType> getOwnTypesByDeployment(String deploymentName)
      Finds all composed types which are root types of a given deployment.

      This means that only these types are found which are configured to use the specified deployment. Please note that their subtypes may also share this deployment without beeing explicitely configured!

      Parameters:
      deploymentName -
    • getOwnType

      public final YType getOwnType(String code)
      Finds the type with a given code within this namespace.
      Parameters:
      code -
    • getOwnDeployments

      public Set<YDeployment> getOwnDeployments()
    • getOwnIndexDeployment

      public final YIndexDeployment getOwnIndexDeployment(String deploymentName, String indexName)
    • getOwnIndexDeployments

      public final Set<YIndexDeployment> getOwnIndexDeployments(String deploymentName)
    • getOwnIndexDeployments

      public final Set<YIndexDeployment> getOwnIndexDeployments()
    • getOwnAttributeDeployment

      public final YAttributeDeployment getOwnAttributeDeployment(String deploymentName, String persistenceQualifier)
    • getOwnAttributeDeployments

      public final Set<YAttributeDeployment> getOwnAttributeDeployments(String deploymentName)
    • getOwnAttributeDeployments

      public Set<YAttributeDeployment> getOwnAttributeDeployments()
    • getOwnFinder

      public final YDeploymentElement getOwnFinder(String deploymentName, String name)
    • getOwnFinders

      public final Set<YFinder> getOwnFinders(String deploymentName)
    • getOwnFinders

      public Set<YFinder> getOwnFinders()
    • cutPackageName

      protected String cutPackageName(String fullDeploymentName)
    • getOwnDeployment

      public final YDeployment getOwnDeployment(String name)
    • getOwnDeployment

      public final YDeployment getOwnDeployment(int typeCode)
    • getOwnAttributeRelationEnd

      public YRelationEnd getOwnAttributeRelationEnd(String enclosingTypeCode, String qualifier)
    • getOwnAttribute

      public YAttributeDescriptor getOwnAttribute(String enclosingTypeCode, String qualifier)
    • getOwnAttributes

      public Set<YAttributeDescriptor> getOwnAttributes()
    • getOwnAttributes

      public Set<YAttributeDescriptor> getOwnAttributes(String enclosingTypeCode)
    • getOwnIndexes

      public Set<YIndex> getOwnIndexes()
    • getOwnIndexes

      public Set<YIndex> getOwnIndexes(String enclosingTypeCode)
    • getOwnEnumValues

      public Set<YEnumValue> getOwnEnumValues()
    • getOwnEnumValues

      public Set<YEnumValue> getOwnEnumValues(String enumTypeCode)
    • getOwnSubtypeCodes

      public Set<String> getOwnSubtypeCodes(String code)