C# 클래스 Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeInfoBuilder

Simplifies the process of building 'AttributeInfo' objects.
This class is responsible for providing a default implementation of ConnectorAttributeInfo. AttributeInfoBuilder bld = new AttributeInfoBuilder("email"); bld.setRequired(true); AttributeInfo info = bld.build();
파일 보기 프로젝트 열기: Tirasa/ConnId 1 사용 예제들

공개 메소드들

메소드 설명
Build ( ) : ConnectorAttributeInfo

Builds an ConnectorAttributeInfo object based on the properties set.

Build ( String name ) : ConnectorAttributeInfo

Convenience method to create an AttributeInfo.

Equivalent to AttributeInfoBuilder.build(name,type)

Build ( String name, Type type ) : ConnectorAttributeInfo

Convenience method to create an AttributeInfo.

Equivalent to AttributeInfoBuilder.build(name,type,null)

Build ( String name, Type type, ConnectorAttributeInfo flags ) : ConnectorAttributeInfo

Convenience method to create an AttributeInfo.

Equivalent to new AttributeInfoBuilder(name,type).setFlags(flags).build()

ConnectorAttributeInfoBuilder ( ) : System

Creates an builder with all the defaults set.

The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.

 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
ConnectorAttributeInfoBuilder ( String name ) : System

Creates an builder with all the defaults set.

The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.

 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
ConnectorAttributeInfoBuilder ( String name, Type type ) : System

Creates an builder with all the defaults set.

The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.

 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
Define ( string name ) : ConnectorAttributeInfoBuilder

Convenience method to create a new AttributeInfoBuilder. Equivalent to: new AttributeInfoBuilder(name, String.class)

Since 1.4

Define ( string name, Type type ) : ConnectorAttributeInfoBuilder

Convenience method to create a new AttributeInfoBuilder. Equivalent to: new AttributeInfoBuilder(name, type)

Since 1.4

SetCreatable ( bool value ) : ConnectorAttributeInfoBuilder

Determines if the attribute is writable.

SetMultiValued ( bool value ) : ConnectorAttributeInfoBuilder

Determines if this attribute supports multivalue.

SetName ( string name ) : ConnectorAttributeInfoBuilder

Sets the unique name of the ConnectorAttributeInfo object.

SetReadable ( bool value ) : ConnectorAttributeInfoBuilder

Determines if the attribute is readable.

SetRequired ( bool value ) : ConnectorAttributeInfoBuilder

Determines if this attribute is required.

SetReturnedByDefault ( bool value ) : ConnectorAttributeInfoBuilder
SetUpdateable ( bool value ) : ConnectorAttributeInfoBuilder

Determines if this attribute writable during update.

SetValueType ( Type type ) : ConnectorAttributeInfoBuilder

Please see FrameworkUtil.CheckAttributeType(Type) for the definitive list of supported types.

비공개 메소드들

메소드 설명
SetFlag ( ConnectorAttributeInfo flag, bool value ) : void

메소드 상세

Build() 공개 메소드

Builds an ConnectorAttributeInfo object based on the properties set.
public Build ( ) : ConnectorAttributeInfo
리턴 ConnectorAttributeInfo

Build() 공개 정적인 메소드

Convenience method to create an AttributeInfo.
Equivalent to AttributeInfoBuilder.build(name,type)
public static Build ( String name ) : ConnectorAttributeInfo
name String The name of the attribute
리턴 ConnectorAttributeInfo

Build() 공개 정적인 메소드

Convenience method to create an AttributeInfo.
Equivalent to AttributeInfoBuilder.build(name,type,null)
public static Build ( String name, Type type ) : ConnectorAttributeInfo
name String The name of the attribute
type System.Type The type of the attribute
리턴 ConnectorAttributeInfo

Build() 공개 정적인 메소드

Convenience method to create an AttributeInfo.
Equivalent to new AttributeInfoBuilder(name,type).setFlags(flags).build()
public static Build ( String name, Type type, ConnectorAttributeInfo flags ) : ConnectorAttributeInfo
name String The name of the attribute
type System.Type The type of the attribute
flags ConnectorAttributeInfo The flags for the attribute. Null means clear all flags
리턴 ConnectorAttributeInfo

ConnectorAttributeInfoBuilder() 공개 메소드

Creates an builder with all the defaults set.
The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.
 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
public ConnectorAttributeInfoBuilder ( ) : System
리턴 System

ConnectorAttributeInfoBuilder() 공개 메소드

Creates an builder with all the defaults set.
The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.
 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
public ConnectorAttributeInfoBuilder ( String name ) : System
name String
리턴 System

ConnectorAttributeInfoBuilder() 공개 메소드

Creates an builder with all the defaults set.
The name must be set before the 'build' method is called otherwise an IllegalStateException is thrown.
 Name: <not set> Readable: true Writeable: true Required: false Type: string MultiValue: false 
public ConnectorAttributeInfoBuilder ( String name, Type type ) : System
name String
type System.Type
리턴 System

Define() 공개 정적인 메소드

Convenience method to create a new AttributeInfoBuilder. Equivalent to: new AttributeInfoBuilder(name, String.class)
Since 1.4
public static Define ( string name ) : ConnectorAttributeInfoBuilder
name string /// The name of the attribute
리턴 ConnectorAttributeInfoBuilder

Define() 공개 정적인 메소드

Convenience method to create a new AttributeInfoBuilder. Equivalent to: new AttributeInfoBuilder(name, type)
Since 1.4
public static Define ( string name, Type type ) : ConnectorAttributeInfoBuilder
name string /// The name of the attribute
type System.Type /// The type of the attribute
리턴 ConnectorAttributeInfoBuilder

SetCreatable() 공개 메소드

Determines if the attribute is writable.
public SetCreatable ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetMultiValued() 공개 메소드

Determines if this attribute supports multivalue.
public SetMultiValued ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetName() 공개 메소드

Sets the unique name of the ConnectorAttributeInfo object.
public SetName ( string name ) : ConnectorAttributeInfoBuilder
name string unique name of the object.
리턴 ConnectorAttributeInfoBuilder

SetReadable() 공개 메소드

Determines if the attribute is readable.
public SetReadable ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetRequired() 공개 메소드

Determines if this attribute is required.
public SetRequired ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetReturnedByDefault() 공개 메소드

public SetReturnedByDefault ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetUpdateable() 공개 메소드

Determines if this attribute writable during update.
public SetUpdateable ( bool value ) : ConnectorAttributeInfoBuilder
value bool
리턴 ConnectorAttributeInfoBuilder

SetValueType() 공개 메소드

Please see FrameworkUtil.CheckAttributeType(Type) for the definitive list of supported types.
if the Class is not a supported type.
public SetValueType ( Type type ) : ConnectorAttributeInfoBuilder
type System.Type type for an 's value.
리턴 ConnectorAttributeInfoBuilder