// individual counts\r
@Transient\r
public Integer getIndividualCount() {\r
- return (hasFieldUnit() ? getFieldUnit(true)\r
- .getIndividualCount() : null);\r
+ return (hasFieldUnit() ? getFieldUnit(true).getIndividualCount() : null);\r
}\r
\r
public void setIndividualCount(Integer individualCount) {\r
// life stage\r
@Transient\r
public DefinedTerm getLifeStage() {\r
- return (hasFieldUnit() ? getFieldUnit(true)\r
- .getLifeStage() : null);\r
+ return (hasFieldUnit() ? getFieldUnit(true).getLifeStage() : null);\r
}\r
\r
public void setLifeStage(DefinedTerm lifeStage) {\r
// sex\r
@Transient\r
public DefinedTerm getSex() {\r
- return (hasFieldUnit() ? getFieldUnit(true).getSex()\r
- : null);\r
+ return (hasFieldUnit() ? getFieldUnit(true).getSex(): null);\r
}\r
\r
public void setSex(DefinedTerm sex) {\r
getFieldUnit(true).setSex(sex);\r
}\r
+ \r
+ // kind of Unit\r
+ @Transient\r
+ public DefinedTerm getKindOfUnit() {\r
+ return (hasFieldUnit() ? getFieldUnit(true).getKindOfUnit() : null);\r
+ }\r
+\r
+ public void setKindOfUnit(DefinedTerm kindOfUnit) {\r
+ getFieldUnit(true).setKindOfUnit(kindOfUnit);\r
+ }\r
+ \r
\r
// field unit\r
public boolean hasFieldUnit() {\r