Class EdmNamedImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl
-
- All Implemented Interfaces:
org.apache.olingo.odata2.api.edm.EdmNamed
- Direct Known Subclasses:
EdmAssociationImpl,EdmAssociationSetImpl,EdmEntitySetImpl,EdmFunctionImportImpl,EdmStructuralTypeImpl,EdmTypedImpl
public abstract class EdmNamedImpl extends Object implements org.apache.olingo.odata2.api.edm.EdmNamed
See in ABNF
And in OData V2 MC-CSDL (Release v20110610)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,}"
-
-
Constructor Summary
Constructors Constructor Description EdmNamedImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidsetEdm(EdmImpl edm)voidsetName(String name)StringtoString()
-
-
-
Method Detail
-
setEdm
public void setEdm(EdmImpl edm)
-
setName
public void setName(String name) throws org.apache.olingo.odata2.api.edm.EdmException
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getName
public String getName() throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
getNamein interfaceorg.apache.olingo.odata2.api.edm.EdmNamed- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
-