void function ( String arg0 ) { if ( StringUtils . isEmpty ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( ! arg0 . matches ( "srini_string" ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( numberOfComponents < 1 ) { numberOfComponents = 1 ; } major = arg0 ; }
sets the version 's major component . concode_field_sep long serialVersionUID concode_elem_sep String minor concode_elem_sep String prefix concode_elem_sep String major concode_elem_sep String build concode_elem_sep String revision concode_elem_sep Pattern STD_VERSION_PATT concode_elem_sep int numberOfComponents concode_elem_sep String rawVersion concode_elem_sep String suffix concode_field_sep int getMinorAsInt concode_elem_sep String getBuild concode_elem_sep String getPrefix concode_elem_sep int getRevisionAsInt concode_elem_sep int getBuildAsInt concode_elem_sep Version parse concode_elem_sep void setBuild concode_elem_sep void setBuild concode_elem_sep int compareTo concode_elem_sep int getMajorAsInt concode_elem_sep void setMinor concode_elem_sep int compareInts concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep void setRevision concode_elem_sep String toString concode_elem_sep String toString