public abstract class Metadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Metadata.DataProperty |
class |
Metadata.EntityType
The metadata that describes a single java entity class.
|
class |
Metadata.NavigationProperty |
Constructor and Description |
---|
Metadata() |
Modifier and Type | Method and Description |
---|---|
void |
build() |
protected abstract RawMetadata |
buildRawMetadata() |
IEntityType |
getEntityType(java.lang.String entityTypeName) |
IEntityType |
getEntityTypeForClass(java.lang.Class<?> clazz) |
IEntityType |
getEntityTypeForResourceName(java.lang.String resourceName) |
RawMetadata |
getRawMetadata() |
java.lang.String |
toJson() |
public void build()
protected abstract RawMetadata buildRawMetadata()
public RawMetadata getRawMetadata()
public java.lang.String toJson()
public IEntityType getEntityTypeForResourceName(java.lang.String resourceName)
resourceName
- The name of the url resource.public IEntityType getEntityTypeForClass(java.lang.Class<?> clazz)
clazz
- An entity class.public IEntityType getEntityType(java.lang.String entityTypeName)
entityTypeName
- An EntityType name.