You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2015/09/10 15:30:30 UTC

[2/3] olingo-odata4 git commit: [OLINGO-659] Added more javadocs

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlProperty.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlProperty.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlProperty.java
index 0db63d4..fc5b645 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlProperty.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlProperty.java
@@ -24,6 +24,9 @@ import java.util.List;
 import org.apache.olingo.commons.api.edm.FullQualifiedName;
 import org.apache.olingo.commons.api.edm.geo.SRID;
 
+/**
+ * The type Csdl property.
+ */
 public class CsdlProperty extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable {
 
   private static final long serialVersionUID = -4224390853690843450L;
@@ -60,105 +63,232 @@ public class CsdlProperty extends CsdlAbstractEdmItem implements CsdlNamed, Csdl
     return name;
   }
 
+  /**
+   * Sets name.
+   *
+   * @param name the name
+   * @return the name
+   */
   public CsdlProperty setName(final String name) {
     this.name = name;
     return this;
   }
 
+  /**
+   * Gets type.
+   *
+   * @return the type
+   */
   public String getType() {
     return type;
   }
 
+  /**
+   * Sets type.
+   *
+   * @param type the type
+   * @return the type
+   */
   public CsdlProperty setType(final String type) {
     this.type = type;
     return this;
   }
 
+  /**
+   * Gets type as fQN object.
+   *
+   * @return the type as fQN object
+   */
   public FullQualifiedName getTypeAsFQNObject() {
     return new FullQualifiedName(type);
   }
 
+  /**
+   * Sets type.
+   *
+   * @param fqnName the fqn name
+   * @return the type
+   */
   public CsdlProperty setType(final FullQualifiedName fqnName) {
     type = fqnName.getFullQualifiedNameAsString();
     return this;
   }
 
+  /**
+   * Is collection.
+   *
+   * @return the boolean
+   */
   public boolean isCollection() {
     return collection;
   }
 
+  /**
+   * Sets collection.
+   *
+   * @param isCollection the is collection
+   * @return the collection
+   */
   public CsdlProperty setCollection(final boolean isCollection) {
     collection = isCollection;
     return this;
   }
 
+  /**
+   * Gets default value.
+   *
+   * @return the default value
+   */
   public String getDefaultValue() {
     return defaultValue;
   }
 
+  /**
+   * Sets default value.
+   *
+   * @param defaultValue the default value
+   * @return the default value
+   */
   public CsdlProperty setDefaultValue(final String defaultValue) {
     this.defaultValue = defaultValue;
     return this;
   }
 
+  /**
+   * Is nullable.
+   *
+   * @return the boolean
+   */
   public boolean isNullable() {
     return nullable;
   }
 
+  /**
+   * Sets nullable.
+   *
+   * @param nullable the nullable
+   * @return the nullable
+   */
   public CsdlProperty setNullable(final boolean nullable) {
     this.nullable = nullable;
     return this;
   }
 
+  /**
+   * Gets max length.
+   *
+   * @return the max length
+   */
   public Integer getMaxLength() {
     return maxLength;
   }
 
+  /**
+   * Sets max length.
+   *
+   * @param maxLength the max length
+   * @return the max length
+   */
   public CsdlProperty setMaxLength(final Integer maxLength) {
     this.maxLength = maxLength;
     return this;
   }
 
+  /**
+   * Gets precision.
+   *
+   * @return the precision
+   */
   public Integer getPrecision() {
     return precision;
   }
 
+  /**
+   * Sets precision.
+   *
+   * @param precision the precision
+   * @return the precision
+   */
   public CsdlProperty setPrecision(final Integer precision) {
     this.precision = precision;
     return this;
   }
 
+  /**
+   * Gets scale.
+   *
+   * @return the scale
+   */
   public Integer getScale() {
     return scale;
   }
 
+  /**
+   * Sets scale.
+   *
+   * @param scale the scale
+   * @return the scale
+   */
   public CsdlProperty setScale(final Integer scale) {
     this.scale = scale;
     return this;
   }
 
+  /**
+   * Is unicode.
+   *
+   * @return the boolean
+   */
   public boolean isUnicode() {
     return unicode;
   }
 
+  /**
+   * Sets unicode.
+   *
+   * @param unicode the unicode
+   * @return the unicode
+   */
   public CsdlProperty setUnicode(final boolean unicode) {
     this.unicode = unicode;
     return this;
   }
 
+  /**
+   * Gets mime type.
+   *
+   * @return the mime type
+   */
   public String getMimeType() {
     return mimeType;
   }
 
+  /**
+   * Sets mime type.
+   *
+   * @param mimeType the mime type
+   * @return the mime type
+   */
   public CsdlProperty setMimeType(final String mimeType) {
     this.mimeType = mimeType;
     return this;
   }
 
+  /**
+   * Gets mapping.
+   *
+   * @return the mapping
+   */
   public CsdlMapping getMapping() {
     return mapping;
   }
 
+  /**
+   * Sets mapping.
+   *
+   * @param mapping the mapping
+   * @return the mapping
+   */
   public CsdlProperty setMapping(final CsdlMapping mapping) {
     this.mapping = mapping;
     return this;
@@ -169,11 +299,22 @@ public class CsdlProperty extends CsdlAbstractEdmItem implements CsdlNamed, Csdl
     return annotations;
   }
 
+  /**
+   * Sets srid.
+   *
+   * @param srid the srid
+   * @return the srid
+   */
   public CsdlProperty setSrid(final SRID srid) {
     this.srid = srid;
     return this;
   }
 
+  /**
+   * Gets srid.
+   *
+   * @return the srid
+   */
   public SRID getSrid() {
     return srid;
   }

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlPropertyRef.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlPropertyRef.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlPropertyRef.java
index 55cf3fd..c020850 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlPropertyRef.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlPropertyRef.java
@@ -18,6 +18,9 @@
  */
 package org.apache.olingo.commons.api.edm.provider;
 
+/**
+ * The type Csdl property ref.
+ */
 public class CsdlPropertyRef extends CsdlAbstractEdmItem implements CsdlNamed {
 
   private static final long serialVersionUID = 9082892362895660037L;
@@ -31,15 +34,32 @@ public class CsdlPropertyRef extends CsdlAbstractEdmItem implements CsdlNamed {
     return name;
   }
 
+  /**
+   * Sets name.
+   *
+   * @param name the name
+   * @return the name
+   */
   public CsdlPropertyRef setName(final String name) {
     this.name = name;
     return this;
   }
 
+  /**
+   * Gets alias.
+   *
+   * @return the alias
+   */
   public String getAlias() {
     return alias;
   }
 
+  /**
+   * Sets alias.
+   *
+   * @param alias the alias
+   * @return the alias
+   */
   public CsdlPropertyRef setAlias(final String alias) {
     this.alias = alias;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReferentialConstraint.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReferentialConstraint.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReferentialConstraint.java
index c394c0c..6acd60c 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReferentialConstraint.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReferentialConstraint.java
@@ -21,6 +21,9 @@ package org.apache.olingo.commons.api.edm.provider;
 import java.util.ArrayList;
 import java.util.List;
 
+/**
+ * The type Csdl referential constraint.
+ */
 public class CsdlReferentialConstraint extends CsdlAbstractEdmItem implements CsdlAnnotatable {
 
   private static final long serialVersionUID = -7467707499798840075L;
@@ -31,19 +34,41 @@ public class CsdlReferentialConstraint extends CsdlAbstractEdmItem implements Cs
 
   private final List<CsdlAnnotation> annotations = new ArrayList<CsdlAnnotation>();
 
+  /**
+   * Gets property.
+   *
+   * @return the property
+   */
   public String getProperty() {
     return property;
   }
 
+  /**
+   * Sets property.
+   *
+   * @param property the property
+   * @return the property
+   */
   public CsdlReferentialConstraint setProperty(final String property) {
     this.property = property;
     return this;
   }
 
+  /**
+   * Gets referenced property.
+   *
+   * @return the referenced property
+   */
   public String getReferencedProperty() {
     return referencedProperty;
   }
 
+  /**
+   * Sets referenced property.
+   *
+   * @param referencedProperty the referenced property
+   * @return the referenced property
+   */
   public CsdlReferentialConstraint setReferencedProperty(final String referencedProperty) {
     this.referencedProperty = referencedProperty;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReturnType.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReturnType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReturnType.java
index d300f03..d1ec2df 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReturnType.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlReturnType.java
@@ -21,6 +21,9 @@ package org.apache.olingo.commons.api.edm.provider;
 import org.apache.olingo.commons.api.edm.FullQualifiedName;
 import org.apache.olingo.commons.api.edm.geo.SRID;
 
+/**
+ * The type Csdl return type.
+ */
 public class CsdlReturnType extends CsdlAbstractEdmItem {
 
   private static final long serialVersionUID = 4816954124986010965L;
@@ -40,73 +43,161 @@ public class CsdlReturnType extends CsdlAbstractEdmItem {
 
   private SRID srid;
 
+  /**
+   * Gets type.
+   *
+   * @return the type
+   */
   public String getType() {
     return type.getFullQualifiedNameAsString();
   }
 
+  /**
+   * Gets type fQN.
+   *
+   * @return the type fQN
+   */
   public FullQualifiedName getTypeFQN() {
     return type;
   }
 
+  /**
+   * Sets type.
+   *
+   * @param type the type
+   * @return the type
+   */
   public CsdlReturnType setType(final String type) {
     this.type = new FullQualifiedName(type);
     return this;
   }
 
+  /**
+   * Sets type.
+   *
+   * @param type the type
+   * @return the type
+   */
   public CsdlReturnType setType(final FullQualifiedName type) {
     this.type = type;
     return this;
   }
 
+  /**
+   * Is collection.
+   *
+   * @return the boolean
+   */
   public boolean isCollection() {
     return isCollection;
   }
 
+  /**
+   * Sets collection.
+   *
+   * @param isCollection the is collection
+   * @return the collection
+   */
   public CsdlReturnType setCollection(final boolean isCollection) {
     this.isCollection = isCollection;
     return this;
   }
 
+  /**
+   * Is nullable.
+   *
+   * @return the boolean
+   */
   public boolean isNullable() {
     return nullable;
   }
 
+  /**
+   * Sets nullable.
+   *
+   * @param nullable the nullable
+   * @return the nullable
+   */
   public CsdlReturnType setNullable(final boolean nullable) {
     this.nullable = nullable;
     return this;
   }
 
+  /**
+   * Gets max length.
+   *
+   * @return the max length
+   */
   public Integer getMaxLength() {
     return maxLength;
   }
 
+  /**
+   * Sets max length.
+   *
+   * @param maxLength the max length
+   * @return the max length
+   */
   public CsdlReturnType setMaxLength(final Integer maxLength) {
     this.maxLength = maxLength;
     return this;
   }
 
+  /**
+   * Gets precision.
+   *
+   * @return the precision
+   */
   public Integer getPrecision() {
     return precision;
   }
 
+  /**
+   * Sets precision.
+   *
+   * @param precision the precision
+   * @return the precision
+   */
   public CsdlReturnType setPrecision(final Integer precision) {
     this.precision = precision;
     return this;
   }
 
+  /**
+   * Gets scale.
+   *
+   * @return the scale
+   */
   public Integer getScale() {
     return scale;
   }
 
+  /**
+   * Sets scale.
+   *
+   * @param scale the scale
+   * @return the scale
+   */
   public CsdlReturnType setScale(final Integer scale) {
     this.scale = scale;
     return this;
   }
 
+  /**
+   * Gets srid.
+   *
+   * @return the srid
+   */
   public SRID getSrid() {
     return srid;
   }
 
+  /**
+   * Sets srid.
+   *
+   * @param srid the srid
+   * @return the srid
+   */
   public CsdlReturnType setSrid(final SRID srid) {
     this.srid = srid;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSchema.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSchema.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSchema.java
index 478cbe1..efb1b71 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSchema.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSchema.java
@@ -23,6 +23,9 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+/**
+ * The type Csdl schema.
+ */
 public class CsdlSchema extends CsdlAbstractEdmItem implements CsdlAnnotatable {
 
   private static final long serialVersionUID = -1527213201328056750L;
@@ -53,138 +56,289 @@ public class CsdlSchema extends CsdlAbstractEdmItem implements CsdlAnnotatable {
 
   private Map<String, CsdlAnnotatable> annotatables;
 
+  /**
+   * Gets namespace.
+   *
+   * @return the namespace
+   */
   public String getNamespace() {
     return namespace;
   }
 
+  /**
+   * Sets namespace.
+   *
+   * @param namespace the namespace
+   * @return the namespace
+   */
   public CsdlSchema setNamespace(final String namespace) {
     this.namespace = namespace;
     return this;
   }
 
+  /**
+   * Gets alias.
+   *
+   * @return the alias
+   */
   public String getAlias() {
     return alias;
   }
 
+  /**
+   * Sets alias.
+   *
+   * @param alias the alias
+   * @return the alias
+   */
   public CsdlSchema setAlias(final String alias) {
     this.alias = alias;
     return this;
   }
 
+  /**
+   * Gets enum types.
+   *
+   * @return the enum types
+   */
   public List<CsdlEnumType> getEnumTypes() {
     return enumTypes;
   }
 
+  /**
+   * Gets enum type.
+   *
+   * @param name the name
+   * @return the enum type
+   */
   public CsdlEnumType getEnumType(final String name) {
     return getOneByName(name, getEnumTypes());
   }
 
+  /**
+   * Sets enum types.
+   *
+   * @param enumTypes the enum types
+   * @return the enum types
+   */
   public CsdlSchema setEnumTypes(final List<CsdlEnumType> enumTypes) {
     this.enumTypes = enumTypes;
     return this;
   }
 
+  /**
+   * Gets type definitions.
+   *
+   * @return the type definitions
+   */
   public List<CsdlTypeDefinition> getTypeDefinitions() {
     return typeDefinitions;
   }
 
+  /**
+   * Gets type definition.
+   *
+   * @param name the name
+   * @return the type definition
+   */
   public CsdlTypeDefinition getTypeDefinition(final String name) {
     return getOneByName(name, getTypeDefinitions());
   }
 
+  /**
+   * Sets type definitions.
+   *
+   * @param typeDefinitions the type definitions
+   * @return the type definitions
+   */
   public CsdlSchema setTypeDefinitions(final List<CsdlTypeDefinition> typeDefinitions) {
     this.typeDefinitions = typeDefinitions;
     return this;
   }
 
+  /**
+   * Gets entity types.
+   *
+   * @return the entity types
+   */
   public List<CsdlEntityType> getEntityTypes() {
     return entityTypes;
   }
 
+  /**
+   * Gets entity type.
+   *
+   * @param name the name
+   * @return the entity type
+   */
   public CsdlEntityType getEntityType(final String name) {
     return getOneByName(name, getEntityTypes());
   }
 
+  /**
+   * Sets entity types.
+   *
+   * @param entityTypes the entity types
+   * @return the entity types
+   */
   public CsdlSchema setEntityTypes(final List<CsdlEntityType> entityTypes) {
     this.entityTypes = entityTypes;
     return this;
   }
 
+  /**
+   * Gets complex types.
+   *
+   * @return the complex types
+   */
   public List<CsdlComplexType> getComplexTypes() {
     return complexTypes;
   }
 
+  /**
+   * Gets complex type.
+   *
+   * @param name the name
+   * @return the complex type
+   */
   public CsdlComplexType getComplexType(final String name) {
     return getOneByName(name, getComplexTypes());
   }
 
+  /**
+   * Sets complex types.
+   *
+   * @param complexTypes the complex types
+   * @return the complex types
+   */
   public CsdlSchema setComplexTypes(final List<CsdlComplexType> complexTypes) {
     this.complexTypes = complexTypes;
     return this;
   }
 
+  /**
+   * Gets actions.
+   *
+   * @return the actions
+   */
   public List<CsdlAction> getActions() {
     return actions;
   }
 
   /**
    * All actions with the given name
-   * @param name
+   * @param name the name
    * @return a list of actions
    */
   public List<CsdlAction> getActions(final String name) {
     return getAllByName(name, getActions());
   }
 
+  /**
+   * Sets actions.
+   *
+   * @param actions the actions
+   * @return the actions
+   */
   public CsdlSchema setActions(final List<CsdlAction> actions) {
     this.actions = actions;
     return this;
   }
 
+  /**
+   * Gets functions.
+   *
+   * @return the functions
+   */
   public List<CsdlFunction> getFunctions() {
     return functions;
   }
 
   /**
    * All functions with the given name
-   * @param name
+   * @param name the name
    * @return a list of functions
    */
   public List<CsdlFunction> getFunctions(final String name) {
     return getAllByName(name, getFunctions());
   }
 
+  /**
+   * Sets functions.
+   *
+   * @param functions the functions
+   * @return the functions
+   */
   public CsdlSchema setFunctions(final List<CsdlFunction> functions) {
     this.functions = functions;
     return this;
   }
 
+  /**
+   * Gets entity container.
+   *
+   * @return the entity container
+   */
   public CsdlEntityContainer getEntityContainer() {
     return entityContainer;
   }
 
+  /**
+   * Sets entity container.
+   *
+   * @param entityContainer the entity container
+   * @return the entity container
+   */
   public CsdlSchema setEntityContainer(final CsdlEntityContainer entityContainer) {
     this.entityContainer = entityContainer;
     return this;
   }
 
+  /**
+   * Gets terms.
+   *
+   * @return the terms
+   */
   public List<CsdlTerm> getTerms() {
     return terms;
   }
 
+  /**
+   * Gets term.
+   *
+   * @param name the name
+   * @return the term
+   */
   public CsdlTerm getTerm(final String name) {
     return getOneByName(name, getTerms());
   }
 
+  /**
+   * Sets terms.
+   *
+   * @param terms the terms
+   * @return the terms
+   */
   public CsdlSchema setTerms(final List<CsdlTerm> terms) {
     this.terms = terms;
     return this;
   }
 
+  /**
+   * Gets annotation groups.
+   *
+   * @return the annotation groups
+   */
   public List<CsdlAnnotations> getAnnotationGroups() {
     return annotationGroups;
   }
 
+  /**
+   * Gets annotation group.
+   *
+   * @param target the target
+   * @return the annotation group
+   */
   public CsdlAnnotations getAnnotationGroup(final String target) {
     CsdlAnnotations result = null;
     for (CsdlAnnotations annots : getAnnotationGroups()) {
@@ -195,6 +349,12 @@ public class CsdlSchema extends CsdlAbstractEdmItem implements CsdlAnnotatable {
     return result;
   }
 
+  /**
+   * Gets annotation.
+   *
+   * @param term the term
+   * @return the annotation
+   */
   public CsdlAnnotation getAnnotation(final String term) {
     CsdlAnnotation result = null;
     for (CsdlAnnotation annot : getAnnotations()) {
@@ -210,6 +370,11 @@ public class CsdlSchema extends CsdlAbstractEdmItem implements CsdlAnnotatable {
     return annotations;
   }
 
+  /**
+   * Gets annotatables.
+   *
+   * @return the annotatables
+   */
   public Map<String, CsdlAnnotatable> getAnnotatables() {
     if (annotatables == null) {
       annotatables = new HashMap<String, CsdlAnnotatable>();

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSingleton.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSingleton.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSingleton.java
index 620021d..bcde448 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSingleton.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlSingleton.java
@@ -22,6 +22,9 @@ import java.util.List;
 
 import org.apache.olingo.commons.api.edm.FullQualifiedName;
 
+/**
+ * The type Csdl singleton.
+ */
 public class CsdlSingleton extends CsdlBindingTarget {
 
   private static final long serialVersionUID = -3997943079062565895L;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlStructuralType.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlStructuralType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlStructuralType.java
index 8b4d46e..50413ae 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlStructuralType.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlStructuralType.java
@@ -23,22 +23,46 @@ import java.util.List;
 
 import org.apache.olingo.commons.api.edm.FullQualifiedName;
 
+/**
+ * The type Csdl structural type.
+ */
 public abstract class CsdlStructuralType extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable {
 
   private static final long serialVersionUID = 8662852373514258646L;
 
+  /**
+   * The Name.
+   */
   protected String name;
 
+  /**
+   * The Is open type.
+   */
   protected boolean isOpenType = false;
 
+  /**
+   * The Base type.
+   */
   protected FullQualifiedName baseType;
 
+  /**
+   * The Is abstract.
+   */
   protected boolean isAbstract;
 
+  /**
+   * The Properties.
+   */
   protected List<CsdlProperty> properties = new ArrayList<CsdlProperty>();
 
+  /**
+   * The Navigation properties.
+   */
   protected List<CsdlNavigationProperty> navigationProperties = new ArrayList<CsdlNavigationProperty>();
 
+  /**
+   * The Annotations.
+   */
   protected final List<CsdlAnnotation> annotations = new ArrayList<CsdlAnnotation>();
 
   @Override
@@ -46,20 +70,42 @@ public abstract class CsdlStructuralType extends CsdlAbstractEdmItem implements
     return name;
   }
 
+  /**
+   * Sets name.
+   *
+   * @param name the name
+   * @return the name
+   */
   public CsdlStructuralType setName(final String name) {
     this.name = name;
     return this;
   }
 
+  /**
+   * Is open type.
+   *
+   * @return the boolean
+   */
   public boolean isOpenType() {
     return isOpenType;
   }
 
+  /**
+   * Sets open type.
+   *
+   * @param isOpenType the is open type
+   * @return the open type
+   */
   public CsdlStructuralType setOpenType(final boolean isOpenType) {
     this.isOpenType = isOpenType;
     return this;
   }
 
+  /**
+   * Gets base type.
+   *
+   * @return the base type
+   */
   public String getBaseType() {
     if (baseType != null) {
       return baseType.getFullQualifiedNameAsString();
@@ -67,50 +113,112 @@ public abstract class CsdlStructuralType extends CsdlAbstractEdmItem implements
     return null;
   }
 
+  /**
+   * Gets base type fQN.
+   *
+   * @return the base type fQN
+   */
   public FullQualifiedName getBaseTypeFQN() {
     return baseType;
   }
 
+  /**
+   * Sets base type.
+   *
+   * @param baseType the base type
+   * @return the base type
+   */
   public CsdlStructuralType setBaseType(final String baseType) {
     this.baseType = new FullQualifiedName(baseType);
     return this;
   }
 
+  /**
+   * Sets base type.
+   *
+   * @param baseType the base type
+   * @return the base type
+   */
   public CsdlStructuralType setBaseType(final FullQualifiedName baseType) {
     this.baseType = baseType;
     return this;
   }
 
+  /**
+   * Is abstract.
+   *
+   * @return the boolean
+   */
   public boolean isAbstract() {
     return isAbstract;
   }
 
+  /**
+   * Sets abstract.
+   *
+   * @param isAbstract the is abstract
+   * @return the abstract
+   */
   public CsdlStructuralType setAbstract(final boolean isAbstract) {
     this.isAbstract = isAbstract;
     return this;
   }
 
+  /**
+   * Gets properties.
+   *
+   * @return the properties
+   */
   public List<CsdlProperty> getProperties() {
     return properties;
   }
 
+  /**
+   * Gets property.
+   *
+   * @param name the name
+   * @return the property
+   */
   public CsdlProperty getProperty(final String name) {
     return getOneByName(name, properties);
   }
 
+  /**
+   * Sets properties.
+   *
+   * @param properties the properties
+   * @return the properties
+   */
   public CsdlStructuralType setProperties(final List<CsdlProperty> properties) {
     this.properties = properties;
     return this;
   }
 
+  /**
+   * Gets navigation properties.
+   *
+   * @return the navigation properties
+   */
   public List<CsdlNavigationProperty> getNavigationProperties() {
     return navigationProperties;
   }
 
+  /**
+   * Gets navigation property.
+   *
+   * @param name the name
+   * @return the navigation property
+   */
   public CsdlNavigationProperty getNavigationProperty(final String name) {
     return getOneByName(name, navigationProperties);
   }
 
+  /**
+   * Sets navigation properties.
+   *
+   * @param navigationProperties the navigation properties
+   * @return the navigation properties
+   */
   public CsdlStructuralType setNavigationProperties(final List<CsdlNavigationProperty> navigationProperties) {
     this.navigationProperties = navigationProperties;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTerm.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTerm.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTerm.java
index ac50313..6d33cb7 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTerm.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTerm.java
@@ -23,6 +23,9 @@ import java.util.List;
 
 import org.apache.olingo.commons.api.edm.geo.SRID;
 
+/**
+ * The type Csdl term.
+ */
 public class CsdlTerm extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable {
 
   private static final long serialVersionUID = 3843929000407818103L;
@@ -57,87 +60,192 @@ public class CsdlTerm extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnno
     return name;
   }
 
+  /**
+   * Sets name.
+   *
+   * @param name the name
+   * @return the name
+   */
   public CsdlTerm setName(final String name) {
     this.name = name;
     return this;
   }
 
+  /**
+   * Gets type.
+   *
+   * @return the type
+   */
   public String getType() {
     return type;
   }
 
+  /**
+   * Sets type.
+   *
+   * @param type the type
+   * @return the type
+   */
   public CsdlTerm setType(final String type) {
     this.type = type;
     return this;
   }
 
+  /**
+   * Gets base term.
+   *
+   * @return the base term
+   */
   public String getBaseTerm() {
     return baseTerm;
   }
 
+  /**
+   * Sets base term.
+   *
+   * @param baseTerm the base term
+   * @return the base term
+   */
   public CsdlTerm setBaseTerm(final String baseTerm) {
     this.baseTerm = baseTerm;
     return this;
   }
 
+  /**
+   * Gets applies to.
+   *
+   * @return the applies to
+   */
   public List<String> getAppliesTo() {
     return appliesTo;
   }
 
+  /**
+   * Sets applies to.
+   *
+   * @param appliesTo the applies to
+   * @return the applies to
+   */
   public CsdlTerm setAppliesTo(final List<String> appliesTo) {
     this.appliesTo = appliesTo;
     return this;
   }
 
+  /**
+   * Is collection.
+   *
+   * @return the boolean
+   */
   public boolean isCollection() {
     return isCollection;
   }
 
+  /**
+   * Sets collection.
+   *
+   * @param isCollection the is collection
+   * @return the collection
+   */
   public CsdlTerm setCollection(final boolean isCollection) {
     this.isCollection = isCollection;
     return this;
   }
 
+  /**
+   * Gets default value.
+   *
+   * @return the default value
+   */
   public String getDefaultValue() {
     return defaultValue;
   }
 
+  /**
+   * Sets default value.
+   *
+   * @param defaultValue the default value
+   * @return the default value
+   */
   public CsdlTerm setDefaultValue(final String defaultValue) {
     this.defaultValue = defaultValue;
     return this;
   }
 
+  /**
+   * Is nullable.
+   *
+   * @return the boolean
+   */
   public boolean isNullable() {
     return nullable;
   }
 
+  /**
+   * Sets nullable.
+   *
+   * @param nullable the nullable
+   * @return the nullable
+   */
   public CsdlTerm setNullable(final boolean nullable) {
     this.nullable = nullable;
     return this;
   }
 
+  /**
+   * Gets max length.
+   *
+   * @return the max length
+   */
   public Integer getMaxLength() {
     return maxLength;
   }
 
+  /**
+   * Sets max length.
+   *
+   * @param maxLength the max length
+   * @return the max length
+   */
   public CsdlTerm setMaxLength(final Integer maxLength) {
     this.maxLength = maxLength;
     return this;
   }
 
+  /**
+   * Gets precision.
+   *
+   * @return the precision
+   */
   public Integer getPrecision() {
     return precision;
   }
 
+  /**
+   * Sets precision.
+   *
+   * @param precision the precision
+   * @return the precision
+   */
   public CsdlTerm setPrecision(final Integer precision) {
     this.precision = precision;
     return this;
   }
 
+  /**
+   * Gets scale.
+   *
+   * @return the scale
+   */
   public Integer getScale() {
     return scale;
   }
 
+  /**
+   * Sets scale.
+   *
+   * @param scale the scale
+   * @return the scale
+   */
   public CsdlTerm setScale(final Integer scale) {
     this.scale = scale;
     return this;
@@ -148,15 +256,32 @@ public class CsdlTerm extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnno
     return annotations;
   }
 
+  /**
+   * Sets annotations.
+   *
+   * @param annotations the annotations
+   * @return the annotations
+   */
   public CsdlTerm setAnnotations(final List<CsdlAnnotation> annotations) {
     this.annotations = annotations;
     return this;
   }
 
+  /**
+   * Gets srid.
+   *
+   * @return the srid
+   */
   public SRID getSrid() {
     return srid;
   }
 
+  /**
+   * Sets srid.
+   *
+   * @param srid the srid
+   * @return the srid
+   */
   public CsdlTerm setSrid(final SRID srid) {
     this.srid = srid;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTypeDefinition.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTypeDefinition.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTypeDefinition.java
index cf2c784..d8b979f 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTypeDefinition.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/CsdlTypeDefinition.java
@@ -24,6 +24,9 @@ import java.util.List;
 import org.apache.olingo.commons.api.edm.FullQualifiedName;
 import org.apache.olingo.commons.api.edm.geo.SRID;
 
+/**
+ * The type Csdl type definition.
+ */
 public class CsdlTypeDefinition extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable {
 
   private static final long serialVersionUID = 3718980071229613048L;
@@ -50,11 +53,22 @@ public class CsdlTypeDefinition extends CsdlAbstractEdmItem implements CsdlNamed
     return name;
   }
 
+  /**
+   * Sets name.
+   *
+   * @param name the name
+   * @return the name
+   */
   public CsdlTypeDefinition setName(final String name) {
     this.name = name;
     return this;
   }
 
+  /**
+   * Gets underlying type.
+   *
+   * @return the underlying type
+   */
   public String getUnderlyingType() {
     if (underlyingType != null) {
       return underlyingType.getFullQualifiedNameAsString();
@@ -62,56 +76,123 @@ public class CsdlTypeDefinition extends CsdlAbstractEdmItem implements CsdlNamed
     return null;
   }
 
+  /**
+   * Sets underlying type.
+   *
+   * @param underlyingType the underlying type
+   * @return the underlying type
+   */
   public CsdlTypeDefinition setUnderlyingType(final String underlyingType) {
     this.underlyingType = new FullQualifiedName(underlyingType);
     return this;
   }
 
+  /**
+   * Sets underlying type.
+   *
+   * @param underlyingType the underlying type
+   * @return the underlying type
+   */
   public CsdlTypeDefinition setUnderlyingType(final FullQualifiedName underlyingType) {
     this.underlyingType = underlyingType;
     return this;
   }
 
+  /**
+   * Gets max length.
+   *
+   * @return the max length
+   */
   public Integer getMaxLength() {
     return maxLength;
   }
 
+  /**
+   * Sets max length.
+   *
+   * @param maxLength the max length
+   * @return the max length
+   */
   public CsdlTypeDefinition setMaxLength(final Integer maxLength) {
     this.maxLength = maxLength;
     return this;
   }
 
+  /**
+   * Gets precision.
+   *
+   * @return the precision
+   */
   public Integer getPrecision() {
     return precision;
   }
 
+  /**
+   * Sets precision.
+   *
+   * @param precision the precision
+   * @return the precision
+   */
   public CsdlTypeDefinition setPrecision(final Integer precision) {
     this.precision = precision;
     return this;
   }
 
+  /**
+   * Gets scale.
+   *
+   * @return the scale
+   */
   public Integer getScale() {
     return scale;
   }
 
+  /**
+   * Sets scale.
+   *
+   * @param scale the scale
+   * @return the scale
+   */
   public CsdlTypeDefinition setScale(final Integer scale) {
     this.scale = scale;
     return this;
   }
 
+  /**
+   * Is unicode.
+   *
+   * @return the boolean
+   */
   public boolean isUnicode() {
     return unicode;
   }
 
+  /**
+   * Sets unicode.
+   *
+   * @param unicode the unicode
+   * @return the unicode
+   */
   public CsdlTypeDefinition setUnicode(final boolean unicode) {
     this.unicode = unicode;
     return this;
   }
 
+  /**
+   * Gets srid.
+   *
+   * @return the srid
+   */
   public SRID getSrid() {
     return srid;
   }
 
+  /**
+   * Sets srid.
+   *
+   * @param srid the srid
+   * @return the srid
+   */
   public CsdlTypeDefinition setSrid(final SRID srid) {
     this.srid = srid;
     return this;

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationExpression.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationExpression.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationExpression.java
index 2425b9a..fa8ffba 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationExpression.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationExpression.java
@@ -28,25 +28,25 @@ import org.apache.olingo.commons.api.edm.annotation.EdmDynamicAnnotationExpressi
  * A expression is either constant or dynamic
  */
 public interface AnnotationExpression extends Serializable {
-  
+
   /**
    * Return true if the expression is constant
    * @return true if the expression is constant
    */
   boolean isConstant();
-  
+
   /**
    * Casts the expression to {@link EdmConstantAnnotationExpression}
    * @return Constant Expression
    */
   ConstantAnnotationExpression asConstant();
-  
+
   /**
    * Return true if the expression is dynamic
    * @return true if the expression is dynamic
    */
   boolean isDynamic();
-  
+
   /**
    * Cast the expression to {@link EdmDynamicAnnotationExpression}
    * @return Dynamic Expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationPath.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationPath.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationPath.java
index e9d52c1..03cd8de 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationPath.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/AnnotationPath.java
@@ -22,7 +22,7 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  * Represents an annotation path
  */
 public interface AnnotationPath extends DynamicAnnotationExpression {
- 
+
   /**
    * Value of the path
    * @return value of the path

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Apply.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Apply.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Apply.java
index 9719e30..69fbf2d 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Apply.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Apply.java
@@ -26,7 +26,7 @@ import org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable;
  * Represents an Edm:Apply expression
  */
 public interface Apply extends DynamicAnnotationExpression, CsdlAnnotatable {
-  
+
   /**
    * A QualifiedName specifying the name of the client-side function to apply.
    * <br/>
@@ -34,13 +34,13 @@ public interface Apply extends DynamicAnnotationExpression, CsdlAnnotatable {
    * namespace or alias other than odata. Function names qualified with odata are reserved for this specification and
    * its future versions.
    *
+   * @return function full qualified name
    * @see org.apache.olingo.commons.api.Constants#CANONICAL_FUNCTION_CONCAT
    * @see org.apache.olingo.commons.api.Constants#CANONICAL_FUNCTION_FILLURITEMPLATE
    * @see org.apache.olingo.commons.api.Constants#CANONICAL_FUNCTION_URIENCODE
-   * @return function full qualified name
    */
   String getFunction();
-  
+
   /**
    * Returns the expressions applied to the parameters of the function
    * @return List of expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Cast.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Cast.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Cast.java
index 4039a47..c7f0092 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Cast.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Cast.java
@@ -31,7 +31,7 @@ public interface Cast extends DynamicAnnotationExpression, CsdlAnnotatable {
    * @return Returns the facet attribute MaxLength
    */
   Integer getMaxLength();
-  
+
   /**
    * Returns the facet attribute Precision
    * @return Returns the facet attribute Precision
@@ -49,13 +49,13 @@ public interface Cast extends DynamicAnnotationExpression, CsdlAnnotatable {
    * @return Returns the facet attribute SRID
    */
   SRID getSrid();
-  
+
   /**
    * Value cast to
    * @return value cast to
    */
   String getType();
-  
+
   /**
    * Cast value of the expression
    * @return Cast value

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Collection.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Collection.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Collection.java
index 2cf5f0b..30eadac 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Collection.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Collection.java
@@ -26,7 +26,7 @@ import java.util.List;
  * by each of the child expressions.
  */
 public interface Collection extends DynamicAnnotationExpression {
-  
+
   /**
    * Returns a list of child expression
    * @return List of child expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/ConstantAnnotationExpression.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/ConstantAnnotationExpression.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/ConstantAnnotationExpression.java
index 9388262..65d818c 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/ConstantAnnotationExpression.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/ConstantAnnotationExpression.java
@@ -22,7 +22,7 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  * Represents a constant expression
  */
 public interface ConstantAnnotationExpression extends AnnotationExpression {
-  
+
   /**
    * Type of the constant expression
    */
@@ -75,11 +75,11 @@ public interface ConstantAnnotationExpression extends AnnotationExpression {
      * Type Edm.TimeOfDay
      */
     TimeOfDay;
-    
+
     /**
      * Creates a new type by a given string e.g. "TimeOfDay"
      * @param value Type as string
-     * @return  Type
+     * @return Type type
      */
     public static Type fromString(final String value) {
       Type result = null;
@@ -97,19 +97,19 @@ public interface ConstantAnnotationExpression extends AnnotationExpression {
    * @return type of the constant expresion
    */
   Type getType();
-  
+
   /**
    * Sets the type of the constant expression
-   * @param type
+   * @param type type of the constant expression
    */
   void setType(Type type);
-  
+
   /**
    * Value of the constant expression
    * @return value of the constant expression as String
    */
   String getValue();
-  
+
   /**
    * Sets the value of the constant expression
    * @param value value of the constant expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/DynamicAnnotationExpression.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/DynamicAnnotationExpression.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/DynamicAnnotationExpression.java
index a8c567a..f209c7a 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/DynamicAnnotationExpression.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/DynamicAnnotationExpression.java
@@ -22,19 +22,19 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  * Represents a dynamic expression
  */
 public interface DynamicAnnotationExpression extends AnnotationExpression {
-  
+
   /**
    * Returns true if the expression is a logical edm:Not expression
-   * @return  true if the expression is a logical edm:Not expression
+   * @return true if the expression is a logical edm:Not expression
    */
   boolean isNot();
-  
+
   /**
    * Casts the expression to a {@link Not} expression
    * @return Not expression
    */
   Not asNot();
-  
+
   /**
    * Returns true iff the annotation is an expression with two operands.
    * If so, the expression is one of:
@@ -47,164 +47,164 @@ public interface DynamicAnnotationExpression extends AnnotationExpression {
    *  <li>Ge</li>
    *  <li>Lt</li>
    *  <li>Le</li>
-   *  
+   *
    * @return true iff the annotation is an expression with two operands.
    */
   boolean isTwoParamsOp();
-  
+
   /**
    * Casts the expression as {@link TwoParamsOpDynamicAnnotationExpression}
-   * @return TwoParamsOpDynamicAnnotationExpression
+   * @return TwoParamsOpDynamicAnnotationExpression two params op dynamic annotation expression
    */
   TwoParamsOpDynamicAnnotationExpression asTwoParamsOp();
-  
+
   /**
    * Returns true if the expression is a edm:AnnotationPath expression
-   * @return  true if the expression is a edm:AnnotationPath expression
+   * @return true if the expression is a edm:AnnotationPath expression
    */
   boolean isAnnotationPath();
-  
+
   /**
    * Casts the expression to a {@link AnnotationPath} expression
    * @return AnnotationPath expression
    */
   AnnotationPath asAnnotationPath();
-  
+
   /**
    * Returns true if the expression is a edm:Apply expression
-   * @return  true if the expression is a edm:Apply expression
+   * @return true if the expression is a edm:Apply expression
    */
   boolean isApply();
-  
+
   /**
    * Casts the expression to a {@link Apply} expression
    * @return Apply expression
    */
   Apply asApply();
-  
+
   /**
    * Returns true if the expression is a edm:Cast expression
-   * @return  true if the expression is a edm:Cast expression
+   * @return true if the expression is a edm:Cast expression
    */
   boolean isCast();
-  
+
   /**
    * Casts the expression to a {@link Cast} expression
    * @return Cast expression
    */
   Cast asCast();
-  
+
   /**
    * Returns true if the expression is a edm:Collection expression
-   * @return  true if the expression is a edm:Collection expression
+   * @return true if the expression is a edm:Collection expression
    */
   boolean isCollection();
-  
+
   /**
    * Casts the expression to a {@link Collection} expression
    * @return Collection expression
    */
   Collection asCollection();
-  
+
   /**
    * Returns true if the expression is a edm:If expression
-   * @return  true if the expression is a edm:If expression
+   * @return true if the expression is a edm:If expression
    */
   boolean isIf();
-  
+
   /**
    * Casts the expression to a {@link If} expression
    * @return If expression
    */
   If asIf();
-  
+
   /**
    * Returns true if the expression is a edm:IsOf expression
-   * @return  true if the expression is a edm:IsOf expression
+   * @return true if the expression is a edm:IsOf expression
    */
   boolean isIsOf();
-  
+
   /**
    * Casts the expression to a {@link IsOf} expression
    * @return IsOf expression
    */
   IsOf asIsOf();
-  
+
   /**
    * Returns true if the expression is a edm:LabeledElement expression
-   * @return  true if the expression is a edm:LabeledElement expression
+   * @return true if the expression is a edm:LabeledElement expression
    */
   boolean isLabeledElement();
-  
+
   /**
    * Casts the expression to a {@link LabeledElement} expression
    * @return LabeledElement expression
    */
   LabeledElement asLabeledElement();
-  
+
   /**
    * Returns true if the expression is a edm:LabeledElementReference expression
-   * @return  true if the expression is a edm:LabeledElementReference expression
+   * @return true if the expression is a edm:LabeledElementReference expression
    */
   boolean isLabeledElementReference();
-  
+
   /**
    * Casts the expression to a {@link LabeledElementReference} expression
    * @return LabeledElementReference expression
    */
   LabeledElementReference asLabeledElementReference();
-  
+
   /**
    * Returns true if the expression is a edm:Null expression
-   * @return  true if the expression is a edm:Null expression
+   * @return true if the expression is a edm:Null expression
    */
   boolean isNull();
-  
+
   /**
    * Casts the expression to a {@link Null} expression
    * @return Null expression
    */
   Null asNull();
-  
+
   /**
    * Returns true if the expression is a edm:NavigationPropertyPath expression
-   * @return  true if the expression is a edm:NavigationPropertyPath expression
+   * @return true if the expression is a edm:NavigationPropertyPath expression
    */
   boolean isNavigationPropertyPath();
-  
+
   /**
    * Casts the expression to a {@link NavigationPropertyPath} expression
    * @return NavigationPropertyPath expression
    */
   NavigationPropertyPath asNavigationPropertyPath();
-  
+
   /**
    * Returns true if the expression is a edm:Path expression
-   * @return  true if the expression is a edm:Path expression
+   * @return true if the expression is a edm:Path expression
    */
   boolean isPath();
-  
+
   /**
    * Casts the expression to a {@link Path} expression
    * @return Path expression
    */
   Path asPath();
-  
+
   /**
    * Returns true if the expression is a edm:PropertyPath expression
-   * @return  true if the expression is a edm:PropertyPath expression
+   * @return true if the expression is a edm:PropertyPath expression
    */
   boolean isPropertyPath();
-  
+
   /**
    * Casts the expression to a {@link PropertyPath} expression
    * @return PropertyPath expression
    */
   PropertyPath asPropertyPath();
-  
+
   /**
    * Returns true if the expression is a edm:PropertyValue expression
-   * @return  true if the expression is a edm:PropertyValue expression
+   * @return true if the expression is a edm:PropertyValue expression
    */
   boolean isPropertyValue();
 
@@ -213,13 +213,13 @@ public interface DynamicAnnotationExpression extends AnnotationExpression {
    * @return PropertyValue expression
    */
   PropertyValue asPropertyValue();
-  
+
   /**
    * Returns true if the expression is a edm:Record expression
-   * @return  true if the expression is a edm:Record expression
+   * @return true if the expression is a edm:Record expression
    */
   boolean isRecord();
-  
+
   /**
    * Casts the expression to a {@link Record} expression
    * @return Record expression
@@ -228,10 +228,10 @@ public interface DynamicAnnotationExpression extends AnnotationExpression {
 
   /**
    * Returns true if the expression is a edm:UrlRef expression
-   * @return  true if the expression is a edm:UrlRef expression
+   * @return true if the expression is a edm:UrlRef expression
    */
   boolean isUrlRef();
-  
+
   /**
    * Casts the expression to a {@link UrlRef} expression
    * @return UrlRef expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/If.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/If.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/If.java
index 2e407d8..50be557 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/If.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/If.java
@@ -28,7 +28,7 @@ public interface If extends DynamicAnnotationExpression, CsdlAnnotatable {
   /**
    * Returns the first expression of the edm:If expression.
    * This expression represents the condition of the if expression
-   * 
+   *
    * @return First expression of the if expression
    */
   AnnotationExpression getGuard();
@@ -37,16 +37,16 @@ public interface If extends DynamicAnnotationExpression, CsdlAnnotatable {
    * Return the second expression of the edm:If expression.
    * If the condition of the condition is evaluated to true,
    * this expression as to be executed.
-   * 
+   *
    * @return Second Expression of the edm:If expression
    */
   AnnotationExpression getThen();
-  
+
   /**
    * Return the third expression of the edm:If expression.
    * If the condition of the condition is evaluated to false,
    * this expression as to be executed.
-   * 
+   *
    * @return Third Expression of the edm:If expression
    */
   AnnotationExpression getElse();

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/IsOf.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/IsOf.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/IsOf.java
index 8ac40e8..ef08189 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/IsOf.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/IsOf.java
@@ -26,37 +26,37 @@ import org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable;
  *  the child expression returns the specified type
  */
 public interface IsOf extends DynamicAnnotationExpression, CsdlAnnotatable {
-  
+
   /**
    * Facet MaxLength
    * @return fact MaxLength
    */
   Integer getMaxLength();
-  
+
   /**
    * Facet Precision
    * @return fact Precision
    */
   Integer getPrecision();
-  
+
   /**
    * Facet Scale
    * @return facet Scale
    */
   Integer getScale();
-  
+
   /**
    * Facet SRID
    * @return facet SRID
    */
   SRID getSrid();
-  
+
   /**
    * The type which is checked again the child expression
-   * @return EdmType
+   * @return EdmType type
    */
   String getType();
-  
+
   /**
    * Returns true if the child expression returns the specified typed 
    * @return Returns true if the child expression returns the specified typed 

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElement.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElement.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElement.java
index 26c988d..0a1977d 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElement.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElement.java
@@ -25,16 +25,16 @@ import org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable;
  * then be reused elsewhere with an edm:LabeledElementReference (See {@link LabeledElementReference}) expression.
  */
 public interface LabeledElement extends DynamicAnnotationExpression, CsdlAnnotatable {
-  
+
   /**
    * Returns the assigned name
    * @return assigned name
    */
   String getName();
-  
+
   /**
    * Returns the child expression
-   * 
+   *
    * @return child expression
    */
   DynamicAnnotationExpression getValue();

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElementReference.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElementReference.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElementReference.java
index f17e46c..5d4adf1 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElementReference.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/LabeledElementReference.java
@@ -23,7 +23,7 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  *  edm:LabeledElement (see {@link LabeledElement}) expression.
  */
 public interface LabeledElementReference extends DynamicAnnotationExpression {
-  
+
   /**
    * Returns the value of the edm:LabeledElement expression
    * @return value of the edm:LabeledElement expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/NavigationPropertyPath.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/NavigationPropertyPath.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/NavigationPropertyPath.java
index e72e113..9c7d5b1 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/NavigationPropertyPath.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/NavigationPropertyPath.java
@@ -25,7 +25,7 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
 public interface NavigationPropertyPath extends DynamicAnnotationExpression {
   /**
    * Returns the navigation property path itself.
-   * 
+   *
    * @return navigation property
    */
   String getValue();

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Not.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Not.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Not.java
index 359d3f0..4dfebde 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Not.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Not.java
@@ -22,10 +22,10 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  * Represents a logical edm:Le expression
  */
 public interface Not extends DynamicAnnotationExpression {
-  
+
   /**
-  * Returns a boolean value
-  * @return either true or false
-  */
+   * Returns a boolean value
+   * @return either true or false
+   */
   DynamicAnnotationExpression getExpression();
 }

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Path.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Path.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Path.java
index 868207c..abc4689 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Path.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Path.java
@@ -27,7 +27,7 @@ public interface Path extends DynamicAnnotationExpression {
 
   /**
    * Returns the target value of the expression
-   * 
+   *
    * @return target value of the expression
    */
   String getValue();

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/PropertyValue.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/PropertyValue.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/PropertyValue.java
index bc16d59..d2c69e8 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/PropertyValue.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/PropertyValue.java
@@ -26,13 +26,13 @@ import org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable;
  * edm:Record expression (See {@link EdmRecord}). The value is obtained by evaluating an expression.
  */
 public interface PropertyValue extends DynamicAnnotationExpression, CsdlAnnotatable {
-  
+
   /**
    * Property name
    * @return Property name
    */
   String getProperty();
-  
+
   /**
    * Evaluated value of the expression (property value)
    * @return evaluated value of the expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Record.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Record.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Record.java
index 89df24d..db042e4 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Record.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/Record.java
@@ -27,13 +27,13 @@ import org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable;
  * A record expression contains zero or more edm:PropertyValue (See {@link Record} )elements.
  */
 public interface Record extends DynamicAnnotationExpression, CsdlAnnotatable {
-  
+
   /**
    * List of edm:PropertyValues (See {@link PropertyValue}
-   * @return List of edm:PropertyValues (See {@link PropertyValue}
+   * @return List of edm:PropertyValues (See
    */
   List<PropertyValue> getPropertyValues();
-  
+
   /**
    * Returns the entity type or complex type to be constructed.
    * @return Entity type or complex type

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/TwoParamsOpDynamicAnnotationExpression.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/TwoParamsOpDynamicAnnotationExpression.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/TwoParamsOpDynamicAnnotationExpression.java
index b15aeba..91f49af 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/TwoParamsOpDynamicAnnotationExpression.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/TwoParamsOpDynamicAnnotationExpression.java
@@ -59,11 +59,11 @@ public interface TwoParamsOpDynamicAnnotationExpression extends DynamicAnnotatio
      * Less or equals than
      */
     Le;
-    
+
     /**
      * Creates the type(Operator) of a expressin
      * @param value Value of the operator like "And" or "Eq"
-     * @return  Type(Operator) of the expression
+     * @return Type(Operator) of the expression
      */
     public static Type fromString(final String value) {
       Type result = null;
@@ -75,19 +75,19 @@ public interface TwoParamsOpDynamicAnnotationExpression extends DynamicAnnotatio
       return result;
     }
   }
-  
+
   /**
    * Returns the type of the expression result
    * @return Type of the result
    */
   Type getType();
-  
+
   /**
    * Returns the first expression (left child)
    * @return Child expression
    */
   DynamicAnnotationExpression getLeftExpression();
-  
+
   /**
    * Returns the second expression (right child)
    * @return Child expression

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/UrlRef.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/UrlRef.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/UrlRef.java
index 973a7a6..c6bd824 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/UrlRef.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/provider/annotation/UrlRef.java
@@ -23,7 +23,7 @@ package org.apache.olingo.commons.api.edm.provider.annotation;
  * the UrlRef expression. 
  */
 public interface UrlRef extends DynamicAnnotationExpression {
-  
+
   /**
    * Returns a expression of type Edm.String
    * @return expression of type Edm.String

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ex/ODataError.java
----------------------------------------------------------------------
diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ex/ODataError.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ex/ODataError.java
index 4c29e0a..2f68f67 100644
--- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ex/ODataError.java
+++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ex/ODataError.java
@@ -44,7 +44,7 @@ public class ODataError {
   /**
    * The value for the code name/value pair is a language-independent string. Its value is a service-defined error code.
    * This code serves as a sub-status for the HTTP error code specified in the response. MAY be null.
-   * @param code
+   * @param code the service defined error code for this error
    * @return this for method chaining
    */
   public ODataError setCode(final String code) {
@@ -64,7 +64,7 @@ public class ODataError {
   /**
    * The value for the message name/value pair MUST be a human-readable, language-dependent representation of the error.
    * MUST not be null
-   * @param message
+   * @param message message for this error
    * @return this for method chaining
    */
   public ODataError setMessage(final String message) {
@@ -84,7 +84,7 @@ public class ODataError {
   /**
    * The value for the target name/value pair is the target of the particular error (for example, the name of the
    * property in error). MAY be null.
-   * @param target
+   * @param target target to which this error is related to
    * @return this for method chaining
    */
   public ODataError setTarget(final String target) {

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmProviderImpl.java
----------------------------------------------------------------------
diff --git a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmProviderImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmProviderImpl.java
index 53dc4e7..1ad7194 100644
--- a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmProviderImpl.java
+++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmProviderImpl.java
@@ -362,7 +362,7 @@ public class EdmProviderImpl extends AbstractEdm {
   @Override
   protected List<EdmAnnotation> createAnnotations(final FullQualifiedName annotatedName) {
     try {
-      CsdlAnnotatable providerAnnotatable = provider.getAnnoatatable(annotatedName);
+      CsdlAnnotatable providerAnnotatable = provider.getAnnotatable(annotatedName);
       if (providerAnnotatable != null && providerAnnotatable.getAnnotations() != null) {
         List<EdmAnnotation> result = new ArrayList<EdmAnnotation>();
         for (CsdlAnnotation annotation : providerAnnotatable.getAnnotations()) {

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/9ffe4c89/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/SchemaBasedEdmProvider.java
----------------------------------------------------------------------
diff --git a/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/SchemaBasedEdmProvider.java b/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/SchemaBasedEdmProvider.java
index 3256bf4..2fe8aa3 100644
--- a/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/SchemaBasedEdmProvider.java
+++ b/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/SchemaBasedEdmProvider.java
@@ -309,7 +309,7 @@ public class SchemaBasedEdmProvider implements CsdlEdmProvider {
   }
 
   @Override
-  public CsdlAnnotatable getAnnoatatable(FullQualifiedName annotatedName) throws ODataException {
+  public CsdlAnnotatable getAnnotatable(FullQualifiedName annotatedName) throws ODataException {
     return null;
   }
 }