正在查看: Releam v2.13.2 应用的 SignedPropertiesTypeImpl.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Releam v2.13.2 应用的 SignedPropertiesTypeImpl.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package org.etsi.uri.x01903.v13.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.SimpleValue;
import org.apache.xmlbeans.XmlID;
import org.apache.xmlbeans.impl.values.TypeStore;
import org.apache.xmlbeans.impl.values.XmlComplexContentImpl;
import org.etsi.uri.x01903.v13.SignedDataObjectPropertiesType;
import org.etsi.uri.x01903.v13.SignedPropertiesType;
import org.etsi.uri.x01903.v13.SignedSignaturePropertiesType;
public class SignedPropertiesTypeImpl extends XmlComplexContentImpl implements SignedPropertiesType {
private static final QName SIGNEDSIGNATUREPROPERTIES$0 = new QName("http://uri.etsi.org/01903/v1.3.2#", "SignedSignatureProperties");
private static final QName SIGNEDDATAOBJECTPROPERTIES$2 = new QName("http://uri.etsi.org/01903/v1.3.2#", "SignedDataObjectProperties");
private static final QName ID$4 = new QName("", "Id");
public SignedPropertiesTypeImpl(SchemaType schemaType) {
super(schemaType);
}
@Override
public SignedDataObjectPropertiesType addNewSignedDataObjectProperties() {
SignedDataObjectPropertiesType add_element_user;
synchronized (monitor()) {
check_orphaned();
add_element_user = get_store().add_element_user(SIGNEDDATAOBJECTPROPERTIES$2);
}
return add_element_user;
}
@Override
public SignedSignaturePropertiesType addNewSignedSignatureProperties() {
SignedSignaturePropertiesType signedSignaturePropertiesType;
synchronized (monitor()) {
check_orphaned();
signedSignaturePropertiesType = (SignedSignaturePropertiesType) get_store().add_element_user(SIGNEDSIGNATUREPROPERTIES$0);
}
return signedSignaturePropertiesType;
}
@Override
public String getId() {
synchronized (monitor()) {
check_orphaned();
SimpleValue simpleValue = (SimpleValue) get_store().find_attribute_user(ID$4);
if (simpleValue == null) {
return null;
}
return simpleValue.getStringValue();
}
}
@Override
public SignedDataObjectPropertiesType getSignedDataObjectProperties() {
synchronized (monitor()) {
check_orphaned();
SignedDataObjectPropertiesType find_element_user = get_store().find_element_user(SIGNEDDATAOBJECTPROPERTIES$2, 0);
if (find_element_user == null) {
return null;
}
return find_element_user;
}
}
@Override
public SignedSignaturePropertiesType getSignedSignatureProperties() {
synchronized (monitor()) {
check_orphaned();
SignedSignaturePropertiesType signedSignaturePropertiesType = (SignedSignaturePropertiesType) get_store().find_element_user(SIGNEDSIGNATUREPROPERTIES$0, 0);
if (signedSignaturePropertiesType == null) {
return null;
}
return signedSignaturePropertiesType;
}
}
@Override
public boolean isSetId() {
boolean z;
synchronized (monitor()) {
check_orphaned();
z = get_store().find_attribute_user(ID$4) != null;
}
return z;
}
@Override
public boolean isSetSignedDataObjectProperties() {
boolean z;
synchronized (monitor()) {
check_orphaned();
z = get_store().count_elements(SIGNEDDATAOBJECTPROPERTIES$2) != 0;
}
return z;
}
@Override
public boolean isSetSignedSignatureProperties() {
boolean z;
synchronized (monitor()) {
check_orphaned();
z = get_store().count_elements(SIGNEDSIGNATUREPROPERTIES$0) != 0;
}
return z;
}
@Override
public void setId(String str) {
synchronized (monitor()) {
check_orphaned();
TypeStore typeStore = get_store();
QName qName = ID$4;
SimpleValue simpleValue = (SimpleValue) typeStore.find_attribute_user(qName);
if (simpleValue == null) {
simpleValue = (SimpleValue) get_store().add_attribute_user(qName);
}
simpleValue.setStringValue(str);
}
}
@Override
public void setSignedDataObjectProperties(SignedDataObjectPropertiesType signedDataObjectPropertiesType) {
synchronized (monitor()) {
check_orphaned();
TypeStore typeStore = get_store();
QName qName = SIGNEDDATAOBJECTPROPERTIES$2;
SignedDataObjectPropertiesType find_element_user = typeStore.find_element_user(qName, 0);
if (find_element_user == null) {
find_element_user = (SignedDataObjectPropertiesType) get_store().add_element_user(qName);
}
find_element_user.set(signedDataObjectPropertiesType);
}
}
@Override
public void setSignedSignatureProperties(SignedSignaturePropertiesType signedSignaturePropertiesType) {
synchronized (monitor()) {
check_orphaned();
TypeStore typeStore = get_store();
QName qName = SIGNEDSIGNATUREPROPERTIES$0;
SignedSignaturePropertiesType signedSignaturePropertiesType2 = (SignedSignaturePropertiesType) typeStore.find_element_user(qName, 0);
if (signedSignaturePropertiesType2 == null) {
signedSignaturePropertiesType2 = (SignedSignaturePropertiesType) get_store().add_element_user(qName);
}
signedSignaturePropertiesType2.set(signedSignaturePropertiesType);
}
}
@Override
public void unsetId() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(ID$4);
}
}
@Override
public void unsetSignedDataObjectProperties() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(SIGNEDDATAOBJECTPROPERTIES$2, 0);
}
}
@Override
public void unsetSignedSignatureProperties() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(SIGNEDSIGNATUREPROPERTIES$0, 0);
}
}
@Override
public XmlID xgetId() {
XmlID xmlID;
synchronized (monitor()) {
check_orphaned();
xmlID = (XmlID) get_store().find_attribute_user(ID$4);
}
return xmlID;
}
@Override
public void xsetId(XmlID xmlID) {
synchronized (monitor()) {
check_orphaned();
TypeStore typeStore = get_store();
QName qName = ID$4;
XmlID xmlID2 = (XmlID) typeStore.find_attribute_user(qName);
if (xmlID2 == null) {
xmlID2 = (XmlID) get_store().add_attribute_user(qName);
}
xmlID2.set(xmlID);
}
}
}