public class

EdmProperty

extends EdmPropertyBase
java.lang.Object
   ↳ org.odata4j.edm.EdmItem
     ↳ org.odata4j.edm.EdmPropertyBase
       ↳ org.odata4j.edm.EdmProperty

Class Overview

A CSDL Property element.

Property elements define the shape and characteristics of data that an entity type instance or complex type instance will contain. Properties in a conceptual model are analogous to properties that are defined on a class. In the same way that properties on a class define the shape of the class and carry information about objects, properties in a conceptual model define the shape of an entity type and carry information about entity type instances.

Summary

Nested Classes
class EdmProperty.Builder Mutable builder for EdmProperty objects. 
enum EdmProperty.CollectionKind Kind of collection: List, Bag, or Collection  
Fields
private final EdmProperty.CollectionKind collectionKind
private final EdmStructuralType declaringType
private final String defaultValue
private final String fcContentKind
private final String fcEpmContentKind
private final String fcEpmKeepInContent
private final String fcKeepInContent
private final String fcTargetPath
private final Boolean fixedLength
private final Integer maxLength
private final boolean nullable
private final Integer precision
private final Integer scale
private final String storeGeneratedPattern
private final EdmType type
private final Boolean unicode
[Expand]
Inherited Fields
From class org.odata4j.edm.EdmPropertyBase
From class org.odata4j.edm.EdmItem
Public Methods
EdmProperty.CollectionKind getCollectionKind()
EdmStructuralType getDeclaringType()
String getDefaultValue()
String getFcContentKind()
String getFcEpmContentKind()
String getFcEpmKeepInContent()
String getFcKeepInContent()
String getFcTargetPath()
Boolean getFixedLength()
Integer getMaxLength()
Integer getPrecision()
Integer getScale()
String getStoreGeneratedPattern()
EdmType getType()
Boolean getUnicode()
boolean isNullable()
static EdmProperty.Builder newBuilder(String name)
String toString()
[Expand]
Inherited Methods
From class org.odata4j.edm.EdmPropertyBase
From class org.odata4j.edm.EdmItem
From class java.lang.Object
From interface org.odata4j.core.Named

Fields

private final EdmProperty.CollectionKind collectionKind

private final EdmStructuralType declaringType

private final String defaultValue

private final String fcContentKind

private final String fcEpmContentKind

private final String fcEpmKeepInContent

private final String fcKeepInContent

private final String fcTargetPath

private final Boolean fixedLength

private final Integer maxLength

private final boolean nullable

private final Integer precision

private final Integer scale

private final String storeGeneratedPattern

private final EdmType type

private final Boolean unicode

Public Methods

public EdmProperty.CollectionKind getCollectionKind ()

public EdmStructuralType getDeclaringType ()

public String getDefaultValue ()

public String getFcContentKind ()

public String getFcEpmContentKind ()

public String getFcEpmKeepInContent ()

public String getFcKeepInContent ()

public String getFcTargetPath ()

public Boolean getFixedLength ()

public Integer getMaxLength ()

public Integer getPrecision ()

public Integer getScale ()

public String getStoreGeneratedPattern ()

public EdmType getType ()

public Boolean getUnicode ()

public boolean isNullable ()

public static EdmProperty.Builder newBuilder (String name)

Parameters
name

public String toString ()