SimpleReferenceParams converts given reference parameters to their corresponding simple parameters.
(params ReferenceParams)
| 140 | |
| 141 | // SimpleReferenceParams converts given reference parameters to their corresponding simple parameters. |
| 142 | func SimpleReferenceParams(params ReferenceParams) SimpleParams { |
| 143 | return SimpleParams{ |
| 144 | caseExact: true, |
| 145 | description: params.Description, |
| 146 | multiValued: params.MultiValued, |
| 147 | mutability: params.Mutability.m, |
| 148 | name: params.Name, |
| 149 | referenceTypes: params.ReferenceTypes, |
| 150 | required: params.Required, |
| 151 | returned: params.Returned.r, |
| 152 | typ: attributeDataTypeReference, |
| 153 | uniqueness: params.Uniqueness.u, |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | // SimpleStringParams converts given string parameters to their corresponding simple parameters. |
| 158 | func SimpleStringParams(params StringParams) SimpleParams { |
no outgoing calls
searching dependent graphs…