com.groupdocs.annotation.data.constructor
Class SystemInfoConstructor<T extends ISystemInfo>

java.lang.Object
  extended by com.groupdocs.annotation.data.constructor.SystemInfoConstructor<T>

public class SystemInfoConstructor<T extends ISystemInfo>
extends Object

Constructor for create SystemInfo object

Author:
Aleksey Permyakov (08.10.2014)

Method Summary
static SystemInfoConstructor create()
          Create empty constructor with entity object
static
<P extends ISystemInfo>
SystemInfoConstructor<ISystemInfo>
create(P entity)
          Create entity constructor with provided entity object
 ISystemInfo end()
          Get created entity object
static void setConstructor(IConstructor<ISystemInfo> constructor)
          Setter for property 'constructor'.
 SystemInfoConstructor withDatabaseVersion(int databaseVersion)
          Set database version to entity object
 SystemInfoConstructor withId(int id)
          Set ID to entity object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static SystemInfoConstructor create()
Create empty constructor with entity object

Returns:
entity constructor

create

public static <P extends ISystemInfo> SystemInfoConstructor<ISystemInfo> create(P entity)
Create entity constructor with provided entity object

Returns:
entity constructor

setConstructor

public static void setConstructor(IConstructor<ISystemInfo> constructor)
Setter for property 'constructor'.

Parameters:
constructor - Value to set for property 'constructor'.

withId

public SystemInfoConstructor withId(int id)
Set ID to entity object

Parameters:
id - ID to set
Returns:
entity constructor

withDatabaseVersion

public SystemInfoConstructor withDatabaseVersion(int databaseVersion)
Set database version to entity object

Parameters:
databaseVersion - database version
Returns:
entity constructor

end

public ISystemInfo end()
Get created entity object

Returns:
entity object


Copyright © 2014. All rights reserved.