public class YTypeSystem extends Object
| Constructor and Description |
|---|
YTypeSystem(boolean buildMode) |
public YExtension getExtension(String extName)
public boolean isFinalized()
public void finalizeTypeSystem()
protected void mergeNamespaces()
protected void createRelationAttributes()
protected YAttributeDescriptor createRelationEndAttribute(YRelation rel, YRelationEnd end, YRelationEnd _other)
protected YCollectionType getOrCreateCollectionType(YNamespace namespace, String code, String elementType, YCollectionType.TypeOfCollection toc)
protected YMapType getOrCreateMapType(YNamespace namespace, String code, String argumentType, String elementType)
protected String adjustColumnName(String requested, Set<String> currentColumnNames, int maxLength)
protected void deployAttributes()
YAttributeDeployment objects for each YAttributeDescriptor which is persistable.protected void deployAttribute(YAttributeDescriptor attDesc)
protected void deployIndexes()
YIndexDeployment objects for each YIndex .protected void deployIndex(YIndex idx)
protected void createInheritedAttributes()
YAttributeDescriptor objects for all subtypes of the actual declaring type of a declared
attribute.protected void createInheritedAttributes(YComposedType composedType, YAttributeDescriptor inheritFrom)
public void validate()
public Set<YExtension> getExtensions()
public YDBTypeMapping getDBTypeMappings(String databaseName)
public Map<String,YDBTypeMapping> getDBTypeMappings()
public Set<YAttributeDescriptor> getAttributes()
public Set<YAttributeDescriptor> getAttributes(String enclosingTypeCode)
public YAttributeDescriptor getAttribute(String enclosingTypeCode, String qualifier)
public YRelationEnd getAttributeRelationEnd(String enclosingTypeCode, String qualifier)
public Set<YEnumValue> getEnumValues()
public List<YEnumValue> getEnumValues(String enumTypeCode)
public Set<YDeployment> getDeployments()
public Set<YDeployment> getDeployments(boolean filterAbstract)
public Set<YAttributeDeployment> getAttributeDeployments()
public Set<YComposedType> getDeploymentTypes(YDeployment deployment)
In fact this method collects all types which are allowed to provide attribute deployments to the given deployment.
public YDeployment getDeployment(String name)
public YDeployment getDeployment(int typeCode)
public Set<YAttributeDeployment> getAttributeDeployments(String deploymentName)
public Set<YIndexDeployment> getIndexDeployments()
public Set<YIndexDeployment> getIndexDeployments(String deploymentName)
public void addExtension(YExtension currentExtension)
public Set<YAtomicType> getAtomicTypes()
public Set<YComposedType> getComposedTypes()
public Set<YCollectionType> getCollectionTypes()
public boolean isBuildMode()
Copyright © 2017 SAP SE. All Rights Reserved.