public interface GeneratedTransferObject extends GeneratedType
GeneratedType
and is designed to represent Java Class. The Generated
Transfer Object contains declarations of member fields stored in List of Properties. The Generated Transfer Object
can be extended by exactly ONE Generated Transfer Object as Java does not allow multiple inheritance. For retrieval
of implementing Generated Types use GeneratedType.getImplements()
method.()
, getHashCodeIdentifiers()
and
getToStringIdentifiers()
.Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> |
getBaseType()
Returns Base type of Java representation of YANG typedef if set, otherwise it returns null.
|
List<GeneratedProperty> |
getEqualsIdentifiers()
Returns List of Properties that are designated to define equality for Generated Transfer Object.
|
List<GeneratedProperty> |
getHashCodeIdentifiers()
Returns List of Properties that are designated to define identity for Generated Transfer Object.
|
Restrictions |
getRestrictions() |
GeneratedProperty |
getSUID() |
GeneratedTransferObject |
getSuperType()
Returns the Generated Transfer Object from which this GTO is derived, or null if this GTO is not derived
from a GTO -- e.g.
|
List<GeneratedProperty> |
getToStringIdentifiers()
Returns List of Properties that will be members of toString definition for Generated Transfer Object.
|
boolean |
isTypedef() |
boolean |
isUnionType()
Return boolean value which describe whether Generated Transfer Object was created (or not) from union YANG type.
|
boolean |
isUnionTypeBuilder() |
getAnnotations, getComment, getConstantDefinitions, getEnclosedTypes, getEnumerations, getImplements, getMethodDefinitions, getParentType, getProperties, getYangSourceDefinition, isAbstract
getFullyQualifiedName, getName, getPackageName
getDescription, getModuleName, getReference, getSchemaPath
GeneratedProperty getSUID()
GeneratedTransferObject getSuperType()
null
if this GTO is not derived from another GTO.List<GeneratedProperty> getEqualsIdentifiers()
List<GeneratedProperty> getHashCodeIdentifiers()
List<GeneratedProperty> getToStringIdentifiers()
boolean isTypedef()
org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> getBaseType()
boolean isUnionType()
boolean isUnionTypeBuilder()
Restrictions getRestrictions()
Copyright © 2019 OpenDaylight. All rights reserved.