public abstract class EdmNamedImpl extends Object implements EdmNamed
Note:this pattern is overly restrictive, the normative definition is type TSimpleIdentifier in OData EDM XML Schema
odataIdentifier = identifierLeadingCharacter *127identifierCharacter
identifierLeadingCharacter = ALPHA / "_" ; plus Unicode characters from the categories L or Nl
identifierCharacter = ALPHA / "_" / DIGIT ; plus Unicode characters from the categories L, Nl, Nd, Mn,
Mc, Pc, or Cf
Section 2.2.6 SimpleIdentifier
SimpleIdentifier is a string-based representation. The maximum length of the identifier MUST be less than 480.
The below pattern represents the allowed identifiers in ECMA specification:
Pattern: value="[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}"
Modifier and Type | Field and Description |
---|---|
protected EdmImpl |
edm |
protected String |
name |
Constructor and Description |
---|
EdmNamedImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
setEdm(EdmImpl edm) |
void |
setName(String name) |
String |
toString() |
public void setEdm(EdmImpl edm)
public void setName(String name) throws EdmException
EdmException
public String getName() throws EdmException
getName
in interface EdmNamed
EdmException
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.