public abstract class YNamespace extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
YNamespace.LinkedCaseInsensitiveMap
Map container which maintain order of the entries, and it is case insensitive like
org.apache.commons.collections.map.CaseInsensitiveMap. |
| Constructor and Description |
|---|
YNamespace(YTypeSystem sys) |
public YNamespace(YTypeSystem sys)
protected void mergeNamespace(YNamespace other)
public YTypeSystem getTypeSystem()
protected void assureModifieable()
public void registerTypeSystemElement(YNameSpaceElement element) throws IllegalStateException
IllegalStateExceptionprotected void registerDeployment(YComposedType type)
protected void registerInheritanceRelation(YComposedType type)
protected void registerInheritanceRelation(YAtomicType type)
public YDBTypeMapping getOwnDBTypeMappings(String databaseName)
public Map<String,YDBTypeMapping> getAllOwnDBTypeMappings()
public final Set<YComposedType> getOwnTypesByDeployment(String deploymentName)
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!
deploymentName - public final YType getOwnType(String code)
code - public Set<YDeployment> getOwnDeployments()
public final YIndexDeployment getOwnIndexDeployment(String deploymentName, String indexName)
public final Set<YIndexDeployment> getOwnIndexDeployments(String deploymentName)
public final Set<YIndexDeployment> getOwnIndexDeployments()
public final YAttributeDeployment getOwnAttributeDeployment(String deploymentName, String persistenceQualifier)
public final Set<YAttributeDeployment> getOwnAttributeDeployments(String deploymentName)
public Set<YAttributeDeployment> getOwnAttributeDeployments()
public final YDeploymentElement getOwnFinder(String deploymentName, String name)
public final YDeployment getOwnDeployment(String name)
public final YDeployment getOwnDeployment(int typeCode)
public YRelationEnd getOwnAttributeRelationEnd(String enclosingTypeCode, String qualifier)
public YAttributeDescriptor getOwnAttribute(String enclosingTypeCode, String qualifier)
public Set<YAttributeDescriptor> getOwnAttributes()
public Set<YAttributeDescriptor> getOwnAttributes(String enclosingTypeCode)
public Set<YEnumValue> getOwnEnumValues()
public Set<YEnumValue> getOwnEnumValues(String enumTypeCode)
Copyright © 2017 SAP SE. All Rights Reserved.