public abstract class AbstractExternalType extends BaseType implements SchemaBasedResolvedType
customFacets| Constructor and Description |
|---|
AbstractExternalType(AbstractExternalType externalType) |
AbstractExternalType(TypeExpressionNode from,
String schemaValue,
String schemaPath,
String internalFragment) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractExternalType |
copy() |
boolean |
equals(Object obj) |
static String |
getExternalTypeName(TypeExpressionNode node) |
String |
getInternalFragment() |
String |
getSchemaPath() |
String |
getSchemaValue()
The schema string content
|
int |
hashCode() |
ResolvedType |
mergeFacets(ResolvedType with)
Returns a new type definition after merging the facets of both Types
|
ResolvedType |
overwriteFacets(TypeDeclarationNode from)
Returns a new type definition with the facets being overwritten from the specified node
|
void |
validateCanOverwriteWith(TypeDeclarationNode from)
Validate if this type can be overwritten by the specified node
|
void |
validateState()
Validate state consistency
|
accepts, customFacets, doAccept, getBuiltinTypeName, getTypeExpressionNode, getTypeName, getTypeName, isObjectWithOnlyTypeDecl, overwriteFacets, setTypeName, setTypeNodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaccepts, customFacets, getBuiltinTypeName, getTypeExpressionNode, getTypeName, setTypeNode, visitpublic AbstractExternalType(TypeExpressionNode from, String schemaValue, String schemaPath, String internalFragment)
public AbstractExternalType(AbstractExternalType externalType)
protected abstract AbstractExternalType copy()
public ResolvedType overwriteFacets(TypeDeclarationNode from)
ResolvedTypeoverwriteFacets in interface ResolvedTypefrom - The node from where to load the facetspublic ResolvedType mergeFacets(ResolvedType with)
ResolvedTypemergeFacets in interface ResolvedTypewith - The type definition to merge withpublic void validateCanOverwriteWith(TypeDeclarationNode from)
ResolvedTypevalidateCanOverwriteWith in interface ResolvedTypefrom - The node to check withpublic void validateState()
ResolvedTypevalidateState in interface ResolvedTypevalidateState in class BaseTypepublic String getSchemaValue()
SchemaBasedResolvedTypegetSchemaValue in interface SchemaBasedResolvedTypepublic String getSchemaPath()
public String getInternalFragment()
public static String getExternalTypeName(TypeExpressionNode node)
Copyright © 2020. All rights reserved.