Package pt.cienciavitae.ns.person_info
Class GenderCtype
- java.lang.Object
-
- pt.cienciavitae.ns.person_info.GenderCtype
-
public class GenderCtype extends Object
Java class for gender-ctype complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="gender-ctype"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="code" use="required" type="{http://www.cienciavitae.pt/ns/common-enum}gender-enum" /> <attribute name="privacy-level" use="required" type="{http://www.cienciavitae.pt/ns/common-enum}privacy-level-enum" /> </extension> </simpleContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected GenderEnumcodeprotected PrivacyLevelEnumprivacyLevelprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description GenderCtype()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenderEnumgetCode()Gets the value of the code property.PrivacyLevelEnumgetPrivacyLevel()Gets the value of the privacyLevel property.StringgetValue()Gets the value of the value property.voidsetCode(GenderEnum value)Sets the value of the code property.voidsetPrivacyLevel(PrivacyLevelEnum value)Sets the value of the privacyLevel property.voidsetValue(String value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected String value
-
code
protected GenderEnum code
-
privacyLevel
protected PrivacyLevelEnum privacyLevel
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getCode
public GenderEnum getCode()
Gets the value of the code property.- Returns:
- possible object is
GenderEnum
-
setCode
public void setCode(GenderEnum value)
Sets the value of the code property.- Parameters:
value- allowed object isGenderEnum
-
getPrivacyLevel
public PrivacyLevelEnum getPrivacyLevel()
Gets the value of the privacyLevel property.- Returns:
- possible object is
PrivacyLevelEnum
-
setPrivacyLevel
public void setPrivacyLevel(PrivacyLevelEnum value)
Sets the value of the privacyLevel property.- Parameters:
value- allowed object isPrivacyLevelEnum
-
-