Class TuaOrganizationRelationshipModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaOrganizationRelationshipModel
- All Implemented Interfaces:
Serializable
Generated model class for type TuaOrganizationRelationship first defined at extension tuadatamodel.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationTuaOrganization2TuaOrganizationRelationshipRelationdefining source attributeparentOrganizationin extensiontuadatamodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TuaOrganizationRelationshipModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTuaOrganizationRelationshipModel(String _id, TuaOrganizationModel _organization, ItemModel _owner, String _relationshipType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTuaOrganizationRelationshipModel(String _id, TuaOrganizationModel _organization, String _relationshipType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.voidsetRelationshipType(String value) Generated method - Setter ofTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_TUAORGANIZATION2TUAORGANIZATIONRELATIONSHIPRELATION
Generated relation code constant for relationTuaOrganization2TuaOrganizationRelationshipRelationdefining source attributeparentOrganizationin extensiontuadatamodel.- See Also:
-
ID
Generated constant - Attribute key ofTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.- See Also:
-
RELATIONSHIPTYPE
Generated constant - Attribute key ofTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.- See Also:
-
ORGANIZATION
Generated constant - Attribute key ofTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
PARENTORGANIZATION
Generated constant - Attribute key ofTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.- See Also:
-
-
Constructor Details
-
TuaOrganizationRelationshipModel
public TuaOrganizationRelationshipModel()Generated constructor - Default constructor for generic creation. -
TuaOrganizationRelationshipModel
public TuaOrganizationRelationshipModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TuaOrganizationRelationshipModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaOrganizationRelationshipModel(String _id, TuaOrganizationModel _organization, String _relationshipType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel_organization- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel_relationshipType- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel
-
TuaOrganizationRelationshipModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaOrganizationRelationshipModel(String _id, TuaOrganizationModel _organization, ItemModel _owner, String _relationshipType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel_organization- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel_owner- initial attribute declared by typeItemat extensioncore_relationshipType- initial attribute declared by typeTuaOrganizationRelationshipat extensiontuadatamodel
-
-
Method Details
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Generated method - Getter of theTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.- Returns:
- the id - The unique identifier of the organization relationship
-
getOrganization
Generated method - Getter of theTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.- Returns:
- the organization - The organization
-
getParentOrganization
@Accessor(qualifier="parentOrganization", type=GETTER) public TuaOrganizationModel getParentOrganization()Generated method - Getter of theTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.- Returns:
- the parentOrganization - The parent organization
-
getRelationshipType
Generated method - Getter of theTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.- Returns:
- the relationshipType - The type of the relationship between the organizations
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaOrganizationRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setId
Generated method - Setter ofTuaOrganizationRelationship.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id - The unique identifier of the organization relationship
-
setOrganization
@Accessor(qualifier="organization", type=SETTER) public void setOrganization(TuaOrganizationModel value) Generated method - Setter ofTuaOrganizationRelationship.organizationattribute defined at extensiontuadatamodel.- Parameters:
value- the organization - The organization
-
setParentOrganization
@Accessor(qualifier="parentOrganization", type=SETTER) public void setParentOrganization(TuaOrganizationModel value) Generated method - Setter ofTuaOrganizationRelationship.parentOrganizationattribute defined at extensiontuadatamodel.- Parameters:
value- the parentOrganization - The parent organization
-
setRelationshipType
Generated method - Setter ofTuaOrganizationRelationship.relationshipTypeattribute defined at extensiontuadatamodel.- Parameters:
value- the relationshipType - The type of the relationship between the organizations
-