package com.htmlhifive.tools.wizard.library.model.xml; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p> * anonymous complex typeのJavaクラス。 * <p> * 次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> * </restriction> * </complexContent> * </complexType> * </pre> */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "nature", namespace = "http://www.htmlhifive.com/schema/libraries") public class Nature { @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String id; @XmlAttribute(name = "name") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String name; /** * idプロパティの値を取得します。 * * @return possible object is {@link String } */ public String getId() { return id; } /** * idプロパティの値を設定します。 * * @param value allowed object is {@link String } */ public void setId(String value) { this.id = value; } /** * nameプロパティの値を取得します。 * * @return possible object is {@link String } */ public String getName() { return name; } /** * nameプロパティの値を設定します。 * * @param value allowed object is {@link String } */ public void setName(String value) { this.name = value; } }