import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* @author Arktos
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "constant", propOrder = { "key", "value", "description", "type" })
public class Constant {
@XmlAttribute(name = "key")
@XmlAttribute(name = "value")
@XmlAttribute(name = "description")
@XmlAttribute(name = "type")
return key;
}
public void setKey
(String key
) { this.key = key;
}
return value;
}
public void setValue
(String value
) { this.value = value;
}
public String getDescription
() { return description;
}
public void setDescription
(String description
) { this.description = description;
}
return type;
}
public void setType
(String type
) { this.type = type;
}
}
aW1wb3J0IGphdmF4LnhtbC5iaW5kLmFubm90YXRpb24uWG1sQWNjZXNzVHlwZTsKaW1wb3J0IGphdmF4LnhtbC5iaW5kLmFubm90YXRpb24uWG1sQWNjZXNzb3JUeXBlOwppbXBvcnQgamF2YXgueG1sLmJpbmQuYW5ub3RhdGlvbi5YbWxBdHRyaWJ1dGU7CmltcG9ydCBqYXZheC54bWwuYmluZC5hbm5vdGF0aW9uLlhtbFR5cGU7CgovKioKICogQGF1dGhvciBBcmt0b3MKICoKICovCgpAWG1sQWNjZXNzb3JUeXBlKFhtbEFjY2Vzc1R5cGUuRklFTEQpCkBYbWxUeXBlKG5hbWUgPSAiY29uc3RhbnQiLCBwcm9wT3JkZXIgPSB7ICJrZXkiLCAidmFsdWUiLCAiZGVzY3JpcHRpb24iLCAidHlwZSIgfSkKcHVibGljIGNsYXNzIENvbnN0YW50IHsKCglAWG1sQXR0cmlidXRlKG5hbWUgPSAia2V5IikKCXByaXZhdGUgU3RyaW5nIGtleTsKCUBYbWxBdHRyaWJ1dGUobmFtZSA9ICJ2YWx1ZSIpCglwcml2YXRlIFN0cmluZyB2YWx1ZTsKCUBYbWxBdHRyaWJ1dGUobmFtZSA9ICJkZXNjcmlwdGlvbiIpCglwcml2YXRlIFN0cmluZyBkZXNjcmlwdGlvbjsKCUB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