Coding gudilines for class and methods javadocs fixed.
Change-Id: I0153e6391c9ec9eacaac65c3989834b6bf5c65bf
diff --git a/src/main/java/org/onosproject/yangutils/datamodel/YangPatternRestriction.java b/src/main/java/org/onosproject/yangutils/datamodel/YangPatternRestriction.java
index 2d111cb..1233b08 100644
--- a/src/main/java/org/onosproject/yangutils/datamodel/YangPatternRestriction.java
+++ b/src/main/java/org/onosproject/yangutils/datamodel/YangPatternRestriction.java
@@ -47,7 +47,7 @@
* +---------------+---------+-------------+
*/
/**
- * Pattern restriction information. The regular expression restriction on string
+ * Represents pattern restriction information. The regular expression restriction on string
* data type.
*/
public class YangPatternRestriction {
@@ -63,14 +63,14 @@
private List<String> basePattern;
/**
- * Default constructor.
+ * Creates a YANG pattern restriction object.
*/
public YangPatternRestriction() {
setPatternList(new LinkedList<String>());
}
/**
- * Get the pattern restriction defined for the current type.
+ * Returns the pattern restriction defined for the current type.
*
* @return pattern restriction defined for the current type.
*/
@@ -79,7 +79,7 @@
}
/**
- * Set the pattern restriction defined for the current type.
+ * Sets the pattern restriction defined for the current type.
*
* @param pattern pattern restriction defined for the current type..
*/
@@ -88,7 +88,7 @@
}
/**
- * Add a new pattern to the list of pattern restriction.
+ * Adds a new pattern to the list of pattern restriction.
*
* @param newPattern pattern restriction.
*/
@@ -97,7 +97,7 @@
}
/**
- * Get the pattern restriction defined in base type.
+ * Returns the pattern restriction defined in base type.
*
* @return pattern restriction defined in base type.
*/
@@ -106,7 +106,7 @@
}
/**
- * Set the pattern restriction defined in base type.
+ * Sets the pattern restriction defined in base type.
*
* @param basePattern pattern restriction defined in base type.
*/