ContentRelation Class |
Namespace: Packflow.Modeling
public class ContentRelation : ModelingObject_Extended, IModelRelationInfo, IModelInfo
The ContentRelation type exposes the following members.
| Name | Description | |
|---|---|---|
| ContentRelation |
| Name | Description | |
|---|---|---|
| Description |
Gets or sets the description.
| |
| Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
| Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
| InstanceGuid |
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.) | |
| InstanceLanguage |
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.) | |
| IsExtended |
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not,
allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.) | |
| MirroredRelation |
Gets or sets a value indicating whether this relation is a mirror of a relation located in another model.
That target relation should then be an external relation targeting a content-type in this local model.
This relation in the target one should share the same guid, but not the same id.
| |
| MirroredRelationModelGuid |
Gets or sets the GUID of the model hosting the mirrored relation.
Only relevant if the MirroredRelation property is True.
| |
| Model |
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Overrides ModelingObjectModel.) | |
| Name |
Gets the name of this object.
(Inherited from ModelingObject.) | |
| OBSOLETE_Side1 |
Obsolete, still there for retro-compatibility.
| |
| OBSOLETE_Side2 |
Obsolete, still there for retro-compatibility.
| |
| Ownership |
Gets or sets the ownership information.
| |
| Parent |
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| ParentType |
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| PartsInheritFromOwnerItemDeletePermissions |
Gets or sets a value indicating whether parts inherit from their owner item delete permissions.
| |
| PartsInheritFromOwnerItemReadPermissions |
Gets or sets a value indicating whether parts inherit from their owner item read permissions.
| |
| PartsInheritFromOwnerItemUpdatePermissions |
Gets or sets a value indicating whether parts inherit from their owner item update permissions.
| |
| Side1 |
Gets or sets the first side of the relation.
| |
| Side1CustomName |
Gets or sets the custom name for the first side.
| |
| Side2 |
Gets or sets the second side of the relation.
| |
| Side2CustomName |
Gets or sets the custom name for the second side.
| |
| Type |
Gets or sets the of relation, revealing multiplicities.
|
| Name | Description | |
|---|---|---|
| Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
| EnsureMirrored |
Ensures this relation as an up-to-date mirrored relation of the specified one.
| |
| GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
| GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
| GetName |
Gets the name.
(Inherited from ModelingObject.) | |
| GetOtherContentType |
Gets the content-type at the other end of the relation.
Returns a local ContentType or a local ExternalContentType
(always from the model of this relation).
| |
| GetOtherSide |
Gets the other side of the relation.
| |
| GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
| GetSide1ConstraintName |
Gets the name of the first side constraint.
WordForm data version control implementation.
| |
| GetSide1ContentTypeGuid |
Gets the guid of the first content-type.
WordForm data version control implementation.
| |
| GetSide2ConstraintName |
Gets the name of the second side constraint.
WordForm data version control implementation.
| |
| GetSide2ContentTypeGuid |
Gets the guid of the second content-type.
WordForm data version control implementation.
| |
| IsExternal |
Determines whether one of the side is in another model.
| |
| IsMulti |
Determines whether the specified content-type can hold multiple relations to the other side.
| |
| IsOtherSideMulti |
Determines whether the opposite of the specified content-type
can hold multiple relations to the other side.
| |
| IsOwnerOfOtherContentType |
Determines whether the specified (local) content-type is owner of the other content-type.
| |
| IsPartOfOtherContentType |
Determines whether the specified (local) content-type is part of the other content-type.
| |
| IsSecondary |
Determines whether this relation links one or two local and secondary content-types.
| |
| LinkedToContentType |
Determines if this relation is linked (on one side or another) to the specified content-type.
| |
| LinkedToContentTypes |
Determines if this relation is linked (in a direction or the other) to the specified content-types.
| |
| LinkedToLinkedContentType |
Determines if this relation is linked (on one side or another) to the specified content-type.
| |
| LinkedToLocalContentType |
Determines if this relation is linked (on one side or another) to the specified content-type.
| |
| MultipleValuesFrom |
Determines whether the specified content-type can hold multiple relations to the other side.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |