public abstract class ServiceObjectSchema extends Object implements Iterable<PropertyDefinition>
Modifier and Type | Field and Description |
---|---|
static PropertyDefinition |
extendedProperties
Defines the ExtendedProperties property.
|
Modifier | Constructor and Description |
---|---|
protected |
ServiceObjectSchema()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
addSchemaPropertiesToDictionary(Class<?> type,
Map<String,PropertyDefinitionBase> propDefDictionary)
Adds schema property to dictionary.
|
protected static void |
addSchemaPropertyNamesToDictionary(Class<?> type,
Map<PropertyDefinition,String> propertyNameDictionary)
Adds the schema property names to dictionary.
|
static PropertyDefinitionBase |
findPropertyDefinition(String uri)
Finds the property definition.
|
List<PropertyDefinition> |
getFirstClassProperties()
Gets the list of first class property for this service object type.
|
List<PropertyDefinition> |
getFirstClassSummaryProperties()
Gets the list of first class summary property for this service object
type.
|
static void |
initializeSchemaPropertyNames()
Initialize schema property names.
|
Iterator<PropertyDefinition> |
iterator()
Returns an iterator over a set of elements of type T.
|
protected void |
registerIndexedProperty(IndexedPropertyDefinition indexedProperty)
Registers an indexed property.
|
protected void |
registerInternalProperty(PropertyDefinition property)
Registers an internal schema property.
|
protected void |
registerProperties()
Registers property.
|
protected void |
registerProperty(PropertyDefinition property)
Registers a schema property that will be visible to developers.
|
boolean |
tryGetPropertyDefinition(String xmlElementName,
OutParam<PropertyDefinition> propertyDefinitionOutParam)
Tries to get property definition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final PropertyDefinition extendedProperties
protected ServiceObjectSchema()
protected static void addSchemaPropertiesToDictionary(Class<?> type, Map<String,PropertyDefinitionBase> propDefDictionary)
type
- Schema type.propDefDictionary
- The property definition dictionary.protected static void addSchemaPropertyNamesToDictionary(Class<?> type, Map<PropertyDefinition,String> propertyNameDictionary)
type
- The type.propertyNameDictionary
- The property name dictionary.public static PropertyDefinitionBase findPropertyDefinition(String uri)
uri
- The URI.public static void initializeSchemaPropertyNames()
protected void registerProperty(PropertyDefinition property)
property
- The property to register.protected void registerInternalProperty(PropertyDefinition property)
property
- The property to register.protected void registerIndexedProperty(IndexedPropertyDefinition indexedProperty)
indexedProperty
- The indexed property to register.protected void registerProperties()
public List<PropertyDefinition> getFirstClassProperties()
public List<PropertyDefinition> getFirstClassSummaryProperties()
public boolean tryGetPropertyDefinition(String xmlElementName, OutParam<PropertyDefinition> propertyDefinitionOutParam)
xmlElementName
- Name of the XML element.propertyDefinitionOutParam
- The property definition.public Iterator<PropertyDefinition> iterator()
iterator
in interface Iterable<PropertyDefinition>
Copyright © 2012–2015 Microsoft. All rights reserved.