com.sap.aii.proxy.xiruntime.core

Class XsdlElementProperties

java.lang.Object
  extended by XsdlProperties
      extended by com.sap.aii.proxy.xiruntime.core.XsdlElementProperties

public class XsdlElementProperties
extends XsdlProperties

Class representing the set of XMLSchema properties defined for XML elements.

Copyright (c) 2001 SAP AG


Constructor Summary
XsdlElementProperties(String name, Object defaultValue, Object fixedValue, String form, String xmlType, String namespace, String javaName, Class javaClass, BaseTypeDescriptor elementDescriptor, XsdlTypeRestrictions restrictions, boolean isAbstract, int minOccurs, int maxOccurs, boolean isNillable, String substitutionGroup, String metadataXml)
          returns a new instance preset with the given values
 
Method Summary
 int getMaxOccurs()
          returns the maximum number of times the element may appear (default=1)
 int getMinOccurs()
          returns the minimum number of times the element may appear (default=1)
 String getSubstitutionGroup()
          returns the name of the substitution group this element belongs to
 boolean isAbstract()
          returns true if the element has been declared abstract, otherwise false.
 boolean isNillable()
          returns true if the element has been declared nillable, otherwise false.
 boolean isOptional()
          returns true if the element is optional; else false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsdlElementProperties

public XsdlElementProperties(String name,
                             Object defaultValue,
                             Object fixedValue,
                             String form,
                             String xmlType,
                             String namespace,
                             String javaName,
                             Class javaClass,
                             BaseTypeDescriptor elementDescriptor,
                             XsdlTypeRestrictions restrictions,
                             boolean isAbstract,
                             int minOccurs,
                             int maxOccurs,
                             boolean isNillable,
                             String substitutionGroup,
                             String metadataXml)
returns a new instance preset with the given values

Method Detail

isAbstract

public final boolean isAbstract()
returns true if the element has been declared abstract, otherwise false. An abstract element cannot be used in an instance document. Instead, a member of its substitution group must appear in the instance.


isNillable

public final boolean isNillable()
returns true if the element has been declared nillable, otherwise false. A nillable element can have a nil value as content.


getMaxOccurs

public final int getMaxOccurs()
returns the maximum number of times the element may appear (default=1)


getMinOccurs

public final int getMinOccurs()
returns the minimum number of times the element may appear (default=1)


getSubstitutionGroup

public final String getSubstitutionGroup()
returns the name of the substitution group this element belongs to


isOptional

public final boolean isOptional()
returns true if the element is optional; else false

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.proxy.svc.facade api BC-XI


Copyright 2011 SAP AG Complete Copyright Notice