public interface GeneratedType extends Type, DocumentedType
package
that belongs intointerface
name (with commentary that SHOULD be present to proper define interface and base
contracts specified for interface)enum
and constant
definitions (i.e. each constant definition is by default defined
as public static final
+ type (either primitive or object) and constant namemethod definitions
with specified input parameters (with types) and return valuesBy the definition of the interface constant, enum, enclosed types and method definitions MUST be public, so there is no need to specify the scope of visibility.
Modifier and Type | Method and Description |
---|---|
List<AnnotationType> |
getAnnotations()
Returns List of annotation definitions associated with generated type.
|
TypeComment |
getComment()
Returns comment string associated with Generated Type.
|
List<Constant> |
getConstantDefinitions()
Returns List of Constant definitions associated with Generated Type.
|
List<GeneratedType> |
getEnclosedTypes()
Returns List of enclosing Generated Types.
|
List<Enumeration> |
getEnumerations()
Returns List of all Enumerator definitions associated with Generated Type.
|
List<Type> |
getImplements()
Returns List of Types that Generated Type will implement.
|
List<MethodSignature> |
getMethodDefinitions()
Returns List of Method Definitions associated with Generated Type.
|
Type |
getParentType()
Returns the parent type if Generated Type is defined as enclosing type, otherwise returns
null . |
List<GeneratedProperty> |
getProperties()
Returns List of Properties that are declared for Generated Transfer Object.
|
Optional<YangSourceDefinition> |
getYangSourceDefinition()
Returns the YANG definition of this type, if available.
|
boolean |
isAbstract()
Returns
true if The Generated Type is defined as abstract. |
getFullyQualifiedName, getName, getPackageName
getDescription, getModuleName, getReference, getSchemaPath
Type getParentType()
null
.null
TypeComment getComment()
List<AnnotationType> getAnnotations()
boolean isAbstract()
true
if The Generated Type is defined as abstract.true
if The Generated Type is defined as abstract.List<Type> getImplements()
List<GeneratedType> getEnclosedTypes()
List<Enumeration> getEnumerations()
List<Constant> getConstantDefinitions()
List<MethodSignature> getMethodDefinitions()
List<GeneratedProperty> getProperties()
Optional<YangSourceDefinition> getYangSourceDefinition()
Copyright © 2019 OpenDaylight. All rights reserved.