Package de.hybris.bootstrap.typesystem
Class YNamespace
java.lang.Object
de.hybris.bootstrap.typesystem.YNamespace
- Direct Known Subclasses:
YExtension
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classMap container which maintain order of the entries, and it is case insensitive likeCaseInsensitiveMap. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected StringcutPackageName(String fullDeploymentName) getOwnAttribute(String enclosingTypeCode, String qualifier) final YAttributeDeploymentgetOwnAttributeDeployment(String deploymentName, String persistenceQualifier) final Set<YAttributeDeployment>getOwnAttributeDeployments(String deploymentName) getOwnAttributeRelationEnd(String enclosingTypeCode, String qualifier) getOwnAttributes(String enclosingTypeCode) getOwnDBTypeMappings(String databaseName) final YDeploymentgetOwnDeployment(int typeCode) final YDeploymentgetOwnDeployment(String name) getOwnEnumValues(String enumTypeCode) final YDeploymentElementgetOwnFinder(String deploymentName, String name) getOwnFinders(String deploymentName) final YIndexDeploymentgetOwnIndexDeployment(String deploymentName, String indexName) final Set<YIndexDeployment>final Set<YIndexDeployment>getOwnIndexDeployments(String deploymentName) getOwnIndexes(String enclosingTypeCode) getOwnSubtypeCodes(String code) final YTypegetOwnType(String code) Finds the type with a given code within this namespace.<T> Set<T>getOwnTypes(Class clazz) <T> Set<T>getOwnTypes(Class clazz, Class... excluded) final Set<YComposedType>getOwnTypesByDeployment(String deploymentName) Finds all composed types which are root types of a given deployment.protected voidmergeNamespace(YNamespace other) protected voidprotected voidprotected voidvoid
-
Constructor Details
-
YNamespace
-
-
Method Details
-
mergeNamespace
-
getTypeSystem
-
assureModifieable
protected void assureModifieable() -
registerTypeSystemElement
- Throws:
IllegalStateException
-
registerDeployment
-
registerInheritanceRelation
-
registerInheritanceRelation
-
getOwnDBTypeMappings
-
getAllOwnDBTypeMappings
-
getOwnTypes
-
getOwnTypes
-
getOwnTypes
-
getOwnTypesByDeployment
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
Finds the type with a given code within this namespace.- Parameters:
code-
-
getOwnDeployments
-
getOwnIndexDeployment
-
getOwnIndexDeployments
-
getOwnIndexDeployments
-
getOwnAttributeDeployment
public final YAttributeDeployment getOwnAttributeDeployment(String deploymentName, String persistenceQualifier) -
getOwnAttributeDeployments
-
getOwnAttributeDeployments
-
getOwnFinder
-
getOwnFinders
-
getOwnFinders
-
cutPackageName
-
getOwnDeployment
-
getOwnDeployment
-
getOwnAttributeRelationEnd
-
getOwnAttribute
-
getOwnAttributes
-
getOwnAttributes
-
getOwnIndexes
-
getOwnIndexes
-
getOwnEnumValues
-
getOwnEnumValues
-
getOwnSubtypeCodes
-