Coding gudilines for class and methods javadocs fixed.

Change-Id: I0153e6391c9ec9eacaac65c3989834b6bf5c65bf
diff --git a/utils/yangutils/src/main/java/org/onosproject/yangutils/datamodel/YangStringRestriction.java b/utils/yangutils/src/main/java/org/onosproject/yangutils/datamodel/YangStringRestriction.java
index 1cdfa15..50a1f83 100644
--- a/utils/yangutils/src/main/java/org/onosproject/yangutils/datamodel/YangStringRestriction.java
+++ b/utils/yangutils/src/main/java/org/onosproject/yangutils/datamodel/YangStringRestriction.java
@@ -25,7 +25,7 @@
  *
  */
 /**
- * The restriction for string data type.
+ * Represents the restriction for string data type.
  */
 public class YangStringRestriction {
 
@@ -75,51 +75,51 @@
     private YangPatternRestriction patternRestriction;
 
     /**
-     * Default constructor.
+     * Creates a YANG string restriction object.
      */
     public YangStringRestriction() {
     }
 
     /**
-     * Get the length restriction on the string data.
+     * Returns the length restriction on the string data.
      *
-     * @return length restriction on the string data.
+     * @return length restriction on the string data
      */
     public YangRangeRestriction<BigInteger> getLengthRestriction() {
         return lengthRestriction;
     }
 
     /**
-     * Set the length restriction on the string data.
+     * Sets the length restriction on the string data.
      *
-     * @param lengthRestriction length restriction on the string data.
+     * @param lengthRestriction length restriction on the string data
      */
     public void setLengthRestriction(YangRangeRestriction<BigInteger> lengthRestriction) {
         this.lengthRestriction = lengthRestriction;
     }
 
     /**
-     * Get the pattern restriction for the type.
+     * Returns the pattern restriction for the type.
      *
-     * @return pattern restriction for the type.
+     * @return pattern restriction for the type
      */
     public YangPatternRestriction getPatternRestriction() {
         return patternRestriction;
     }
 
     /**
-     * Set the pattern restriction for the type.
+     * Sets the pattern restriction for the type.
      *
-     * @param patternRestriction pattern restriction for the type.
+     * @param patternRestriction pattern restriction for the type
      */
     private void setPatternRestriction(YangPatternRestriction patternRestriction) {
         this.patternRestriction = patternRestriction;
     }
 
     /**
-     * Add a new pattern restriction for the type.
+     * Adds a new pattern restriction for the type.
      *
-     * @param newPattern new pattern restriction for the type.
+     * @param newPattern new pattern restriction for the type
      */
     public void addPattern(String newPattern) {
         if (getPatternRestriction() == null) {