/** * Get the value of the contained NameType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained NameType object or <code>null</code> */ @Nullable public String getNameValue() { NameType aObj = getName(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained NameType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained NameType object or <code>null</code> */ @Nullable public String getNameValue() { NameType aObj = getName(); return ((aObj == null)?null:aObj.getValue()); }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type NameType and never <code>null</code> */ @Nonnull public NameType setName( @Nullable final String valueParam) { NameType aObj = getName(); if (aObj == null) { aObj = new NameType(valueParam); setName(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type NameType and never <code>null</code> */ @Nonnull public NameType setName( @Nullable final String valueParam) { NameType aObj = getName(); if (aObj == null) { aObj = new NameType(valueParam); setName(aObj); } else { aObj.setValue(valueParam); } return aObj; }