org.odata4j.edm
Class EdmProperty

java.lang.Object
  extended by org.odata4j.edm.EdmItem
      extended by org.odata4j.edm.EdmPropertyBase
          extended by org.odata4j.edm.EdmProperty
All Implemented Interfaces:
Named

public class EdmProperty
extends EdmPropertyBase

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.

See Also:
[msdn] Property Element (CSDL)

Nested Class Summary
static class EdmProperty.Builder
          Mutable builder for EdmProperty objects.
static class EdmProperty.CollectionKind
          Kind of collection: List, Bag, or Collection
 
Method Summary
 EdmProperty.CollectionKind getCollectionKind()
           
 String getConcurrencyMode()
           
 EdmStructuralType getDeclaringType()
           
 String getDefaultValue()
           
 String getFcContentKind()
           
 String getFcEpmContentKind()
           
 String getFcEpmKeepInContent()
           
 String getFcKeepInContent()
           
 String getFcNsPrefix()
           
 String getFcNsUri()
           
 String getFcTargetPath()
           
 Boolean getFixedLength()
           
 Integer getMaxLength()
           
 String getMimeType()
           
 Integer getPrecision()
           
 Integer getScale()
           
 String getStoreGeneratedPattern()
           
 EdmType getType()
           
 Boolean getUnicode()
           
 boolean isNullable()
           
static EdmProperty.Builder newBuilder(String name)
           
 String toString()
           
 
Methods inherited from class org.odata4j.edm.EdmPropertyBase
getName
 
Methods inherited from class org.odata4j.edm.EdmItem
findAnnotation, getAnnotations, getDocumentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCollectionKind

public EdmProperty.CollectionKind getCollectionKind()

getConcurrencyMode

public String getConcurrencyMode()

getDeclaringType

public EdmStructuralType getDeclaringType()

getDefaultValue

public String getDefaultValue()

getFcContentKind

public String getFcContentKind()

getFcEpmContentKind

public String getFcEpmContentKind()

getFcEpmKeepInContent

public String getFcEpmKeepInContent()

getFcKeepInContent

public String getFcKeepInContent()

getFcNsPrefix

public String getFcNsPrefix()

getFcNsUri

public String getFcNsUri()

getFcTargetPath

public String getFcTargetPath()

getFixedLength

public Boolean getFixedLength()

getMaxLength

public Integer getMaxLength()

getMimeType

public String getMimeType()

getPrecision

public Integer getPrecision()

getScale

public Integer getScale()

getStoreGeneratedPattern

public String getStoreGeneratedPattern()

getType

public EdmType getType()

getUnicode

public Boolean getUnicode()

isNullable

public boolean isNullable()

newBuilder

public static EdmProperty.Builder newBuilder(String name)

toString

public String toString()
Overrides:
toString in class Object


http://odata4j.org